Insert()

IGradientStopCollection::Insert(int32_t, float, System::Drawing::Color) method

Creates the new gradient stop and inserts it at the specified index to the collection.

virtual void Aspose::Slides::IGradientStopCollection::Insert(int32_t index, float position, System::Drawing::Color color)=0

Arguments

ParameterTypeDescription
indexint32_tIndex in the collection where new gradient stop will be inserted.
positionfloatPosition of the new gradient stop.
colorSystem::Drawing::ColorColor of the new radient stop.

IGradientStopCollection::Insert(int32_t, float, PresetColor) method

Creates the new gradient stop and inserts it at the specified index to the collection.

virtual void Aspose::Slides::IGradientStopCollection::Insert(int32_t index, float position, PresetColor presetColor)=0

Arguments

ParameterTypeDescription
indexint32_tIndex in the collection where new gradient stop will be inserted.
positionfloatPosition of the new gradient stop.
presetColorPresetColorColor of the new radient stop.

IGradientStopCollection::Insert(int32_t, float, SchemeColor) method

Creates the new gradient stop and inserts it at the specified index to the collection.

virtual void Aspose::Slides::IGradientStopCollection::Insert(int32_t index, float position, SchemeColor schemeColor)=0

Arguments

ParameterTypeDescription
indexint32_tIndex in the collection where new gradient stop will be inserted.
positionfloatPosition of the new gradient stop.
schemeColorSchemeColorColor of the new radient stop.

See Also