GradientStopCollectionInsert 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: 21.5.0.0 (21.5)
Syntax
public 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.

Implements

IGradientStopCollectionInsert(Int32, Single, PresetColor)
See Also