CreateGradientFill(Double,Color,Color) Method
Creates the linear gradient fill.
'Declaration
Public Overloads Function CreateGradientFill( _
ByVal As Double, _
ByVal As Color, _
ByVal As Color _
) As Fill
'Usage
Dim instance As Styles
Dim degree As Double
Dim color1 As Color
Dim color2 As Color
Dim value As Fill
value = instance.CreateGradientFill(degree, color1, color2)
Parameters
- degree
- A System.Double value indicates the angle of the linear gradient.
- color1
- A Color value indicates the color of the first gradient stop, constituting this gradient fill.
- color2
- A Color value indicates the color of the second gradient stop, constituting this gradient fill.
Return Value
A
Fill value represents the created gradient fill.