Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / GradientStop Structure / GradientStop Constructor
A double value represents the position information for this gradient stop.
A Color value represents the color of this gradient stop.


In This Topic
    GradientStop Constructor
    In This Topic
    Initializes a new instance of the GradientStop struct.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal position As Double, _
       ByVal color As Color _
    )
    'Usage
     
    
    Dim position As Double
    Dim color As Color
     
    Dim instance As New GradientStop(position, color)
    public GradientStop( 
       double position,
       Color color
    )

    Parameters

    position
    A double value represents the position information for this gradient stop.
    color
    A Color value represents the color of this gradient stop.
    See Also