[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.GradientStopList.Insert

Insert Method

Insert(Color, float, int)

Inserts a new gradient stop in the color band.

Declaration
public GradientStop Insert(Color color, float position, int index)
Public Function Insert(color As Color, position As Single, index As Integer) As GradientStop
Parameters
Type Name Description
Color color

The gradient stop color.

float position

The gradient stop position in the color band.

int index

The gradient stop index.

Returns
Type Description
GradientStop

The inserted GradientStop.

Insert(ThemeColorId, float, int)

Inserts a new gradient stop in the color band.

Declaration
public GradientStop Insert(ThemeColorId themeColor, float position, int index)
Public Function Insert(themeColor As ThemeColorId, position As Single, index As Integer) As GradientStop
Parameters
Type Name Description
ThemeColorId themeColor

The gradient stop theme color id.

float position

The gradient stop position in the color band.

int index

The gradient stop index.

Returns
Type Description
GradientStop

The inserted GradientStop.