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)
ParameterTypeDescription
colorSystem::Drawing::ColorThe gradient stop color.
offsetfloatThe gradient offset.

ReturnValue

New gradient stop.

See Also

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)
ParameterTypeDescription
colorSystem::SharedPtr<XpsModel::XpsColor>The gradient stop color.
offsetfloatThe gradient offset.

ReturnValue

New gradient stop.

See Also