Add()

IGradientStopCollection::Add(float, System::Drawing::Color) method

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

virtual System::SharedPtr<IGradientStop> Aspose::Slides::IGradientStopCollection::Add(float position, System::Drawing::Color color)=0

Arguments

ParameterTypeDescription
positionfloatPosition of the new gradient stop.
colorSystem::Drawing::ColorColor of the new radient stop.

Return Value

Index of the new gradient stop in the collection.

IGradientStopCollection::Add(float, PresetColor) method

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

virtual System::SharedPtr<IGradientStop> Aspose::Slides::IGradientStopCollection::Add(float position, PresetColor presetColor)=0

Arguments

ParameterTypeDescription
positionfloatPosition of the new gradient stop.
presetColorPresetColorColor of the new radient stop.

Return Value

Index of the new gradient stop in the collection.

IGradientStopCollection::Add(float, SchemeColor) method

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

virtual System::SharedPtr<IGradientStop> Aspose::Slides::IGradientStopCollection::Add(float position, SchemeColor schemeColor)=0

Arguments

ParameterTypeDescription
positionfloatPosition of the new gradient stop.
schemeColorSchemeColorColor of the new radient stop.

Return Value

Index of the new gradient stop in the collection.

See Also