Spread Windows Forms 12.0 Product Documentation
GradientStop Constructor


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.
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

Reference

GradientStop Structure
GradientStop Members