Add()
Contents
[
Hide
]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
Parameter | Type | Description |
---|---|---|
position | float | Position of the new gradient stop. |
color | System::Drawing::Color | Color 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
Parameter | Type | Description |
---|---|---|
position | float | Position of the new gradient stop. |
presetColor | PresetColor | Color 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
Parameter | Type | Description |
---|---|---|
position | float | Position of the new gradient stop. |
schemeColor | SchemeColor | Color of the new radient stop. |
Return Value
Index of the new gradient stop in the collection.
See Also
- Enum PresetColor
- Enum SchemeColor
- Typedef SharedPtr
- Class IGradientStop
- Class Color
- Class IGradientStopCollection
- Namespace Aspose::Slides
- Library Aspose.Slides