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: 21.6.0.0 (21.6)
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