Spread Windows Forms 18
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / GradientFillEffect Structure / Create Method / Create(Double,Color,Color) Method
A System.Double value indicates the angle of the linear gradient.
A Color value indicates the color of the first gradient stop, constituting this gradient fill effect.
A Color value indicates the color of the second gradient stop, constituting this gradient fill effect.


In This Topic
    Create(Double,Color,Color) Method
    In This Topic
    Creates the linear gradient fill.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function Create( _
       ByVal degree As Double, _
       ByVal color1 As Color, _
       ByVal color2 As Color _
    ) As GradientFillEffect
    'Usage
     
    
    Dim degree As Double
    Dim color1 As Color
    Dim color2 As Color
    Dim value As GradientFillEffect
     
    value = GradientFillEffect.Create(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 effect.
    color2
    A Color value indicates the color of the second gradient stop, constituting this gradient fill effect.

    Return Value

    A GradientFillEffect value represents the gradient fill effect.
    See Also