IGradientStopCollectionInsert Method (Int32, Single, Color)

Creates the new gradient stop and inserts it at the specified index to the collection.

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 22.1.0.0 (22.1)
Syntax
void Insert(
	int index,
	float position,
	Color color
)

Parameters

index
Type: SystemInt32
Index in the collection where new gradient stop will be inserted.
position
Type: SystemSingle
Position of the new gradient stop.
color
Type: System.DrawingColor
Color of the new radient stop.
See Also