Document Solutions for Word
GrapeCity.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / GradientStopList Class / Add Method / Add(Color,Single) Method
The gradient stop color.
The gradient stop position in the color band.

In This Topic
    Add(Color,Single) Method
    In This Topic
    Adds a new gradient stop in the color band.
    Syntax
    'Declaration
     
    Public Overloads Function Add( _
       ByVal color As System.Drawing.Color, _
       ByVal position As System.Single _
    ) As GradientStop
    public GradientStop Add( 
       System.Drawing.Color color,
       System.float position
    )

    Parameters

    color
    The gradient stop color.
    position
    The gradient stop position in the color band.

    Return Value

    The added GradientStop.
    See Also