GradientStopCollectionInsert 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: 20.3.0.0 (20.3)
Syntax
public 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.

Implements

IGradientStopCollectionInsert(Int32, Single, Color)
See Also