[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.GradientStopList.Add

Add Method

Add(Color, float)

Adds a new gradient stop in the color band.

Declaration
public GradientStop Add(Color color, float position)
Public Function Add(color As Color, position As Single) As GradientStop
Parameters
Type Name Description
Color color

The gradient stop color.

float position

The gradient stop position in the color band.

Returns
Type Description
GradientStop

The added GradientStop.

Add(ThemeColorId, float)

Adds a new gradient stop in the color band.

Declaration
public GradientStop Add(ThemeColorId themeColor, float position)
Public Function Add(themeColor As ThemeColorId, position As Single) As GradientStop
Parameters
Type Name Description
ThemeColorId themeColor

The gradient stop theme color id.

float position

The gradient stop position in the color band.

Returns
Type Description
GradientStop

The added GradientStop.