Spread Windows Forms 18
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Drawing Namespace / IGradientStops Interface / Insert Method
Specifies the color at the gradient stop.
Specifies the position of the stop within the gradient expressed as a percent.
Specifies the opacity of color at the gradient stop.
The index number of the stop.
Specifies the brightness of the color at the gradient stop.


In This Topic
    Insert Method (IGradientStops)
    In This Topic
    Adds a stop to a gradient, and specifies the brightness, as well as the transparency, of the color.
    Syntax
    'Declaration
     
    
    Sub Insert( _
       ByVal rgb As Integer, _
       ByVal position As Double, _
       Optional ByVal transparency As Double, _
       Optional ByVal index As Integer, _
       Optional ByVal brightness As Double _
    ) 
    'Usage
     
    
    Dim instance As IGradientStops
    Dim rgb As Integer
    Dim position As Double
    Dim transparency As Double
    Dim index As Integer
    Dim brightness As Double
     
    instance.Insert(rgb, position, transparency, index, brightness)

    Parameters

    rgb
    Specifies the color at the gradient stop.
    position
    Specifies the position of the stop within the gradient expressed as a percent.
    transparency
    Specifies the opacity of color at the gradient stop.
    index
    The index number of the stop.
    brightness
    Specifies the brightness of the color at the gradient stop.
    See Also