Add()
Contents
[
Hide
]GradientStopCollection::Add(float, System::Drawing::Color) method
Creates the new gradient stop and adds it to the end of collection.
System::SharedPtr<IGradientStop> Aspose::Slides::GradientStopCollection::Add(float position, System::Drawing::Color color) override
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.
GradientStopCollection::Add(float, PresetColor) method
Creates the new gradient stop and adds it to the end of collection.
System::SharedPtr<IGradientStop> Aspose::Slides::GradientStopCollection::Add(float position, PresetColor presetColor) override
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.
GradientStopCollection::Add(float, SchemeColor) method
Creates the new gradient stop and adds it to the end of collection.
System::SharedPtr<IGradientStop> Aspose::Slides::GradientStopCollection::Add(float position, SchemeColor schemeColor) override
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 GradientStopCollection
- Namespace Aspose::Slides
- Library Aspose.Slides