Aspose::Page::XPS::XpsDocument::CreateGradientStop method
XpsDocument::CreateGradientStop(System::Drawing::Color, float) method
Creates a new gradient stop.
System::SharedPtr<XpsModel::XpsGradientStop> Aspose::Page::XPS::XpsDocument::CreateGradientStop(System::Drawing::Color color, float offset)
Parameter | Type | Description |
---|---|---|
color | System::Drawing::Color | The gradient stop color. |
offset | float | The gradient offset. |
ReturnValue
New gradient stop.
See Also
- Typedef SharedPtr
- Class XpsGradientStop
- Class Color
- Class XpsDocument
- Namespace Aspose::Page::XPS
- Library Aspose.Page for C++
XpsDocument::CreateGradientStop(System::SharedPtr<XpsModel::XpsColor>, float) method
Creates a new gradient stop.
System::SharedPtr<XpsModel::XpsGradientStop> Aspose::Page::XPS::XpsDocument::CreateGradientStop(System::SharedPtr<XpsModel::XpsColor> color, float offset)
Parameter | Type | Description |
---|---|---|
color | System::SharedPtr<XpsModel::XpsColor> | The gradient stop color. |
offset | float | The gradient offset. |
ReturnValue
New gradient stop.
See Also
- Typedef SharedPtr
- Class XpsGradientStop
- Class XpsColor
- Class XpsDocument
- Namespace Aspose::Page::XPS
- Library Aspose.Page for C++