Documents for Excel .NET Edition | GCDocuments
GrapeCity.Documents.Excel.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
    void Insert( 
       System.int rgb,
       System.double position,
       System.double transparency,
       System.int index,
       System.double 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