Document Solutions for Excel, Java Edition | Document Solutions
com.grapecity.documents.excel.drawing Package / IGradientStops Interface / insert Method / insert(int,double) Method
Specifies the color at the gradient stop.
Specifies the position of the stop within the gradient expressedas a percent.
In This Topic
    insert(int,double) Method
    In This Topic
    Adds a stop to a gradient and specifies the brightness, as well as the transparency of the color.
    Syntax
    void insert( 
       int rgb,
       double position
    )

    Parameters

    rgb
    Specifies the color at the gradient stop.
    position
    Specifies the position of the stop within the gradient expressedas a percent.
    See Also