IGradientStopCollectionAdd Method (Single, PresetColor) |
Creates the new gradient stop and adds it to the end of collection.
Namespace:
Aspose.Slides
Assembly:
Aspose.Slides (in Aspose.Slides.dll) Version: 22.5.0.0 (22.5)
SyntaxIGradientStop Add(
float position,
PresetColor presetColor
)
Function Add (
position As Single,
presetColor As PresetColor
) As IGradientStop
IGradientStop^ Add(
float position,
PresetColor presetColor
)
abstract Add :
position : float32 *
presetColor : PresetColor -> IGradientStop
Parameters
- position
- Type: SystemSingle
Position of the new gradient stop. - presetColor
- Type: Aspose.SlidesPresetColor
Color of the new radient stop.
Return Value
Type:
IGradientStopIndex of the new gradient stop in the collection.
See Also