GradientStopCollectionAdd Method (Single, SchemeColor)

Creates the new gradient stop and adds it to the end of collection.

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 21.6.0.0 (21.6)
Syntax
public IGradientStop Add(
	float position,
	SchemeColor schemeColor
)

Parameters

position
Type: SystemSingle
Position of the new gradient stop.
schemeColor
Type: Aspose.SlidesSchemeColor
Color of the new radient stop.

Return Value

Type: IGradientStop
Index of the new gradient stop in the collection.

Implements

IGradientStopCollectionAdd(Single, SchemeColor)
See Also