Click or drag to resize

GradientStopList Insert Method (Int32, Single, KnownColors)

Creates the new gradient stop.

Namespace: Spire.Presentation.Collections
Assembly: Spire.Presentation (in Spire.Presentation.dll) Version: 10.4.2.0 (10.4.2.6046)
Syntax
public void Insert(
	int index,
	float position,
	KnownColors knownColor
)

Parameters

index
Type: System Int32
Index in the collection where new gradient stop will be inserted.
position
Type: System Single
Position of the new gradient stop.
knownColor
Type: Spire.Presentation KnownColors
Color of the new radient stop.
See Also