IGradientStopCollectionInsert Method (Int32, Single, PresetColor)

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,
	PresetColor presetColor
)

Parameters

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