PageAPI.CreateGradientStop

CreateGradientStop(XpsColor, float)

Creates a new gradient stop.

public XpsGradientStop CreateGradientStop(XpsColor color, float offset)
ParameterTypeDescription
colorXpsColorThe gradient stop color.
offsetSingleThe gradient offset.

Return Value

New gradient stop.

See Also


CreateGradientStop(Color, float)

Creates a new gradient stop.

public XpsGradientStop CreateGradientStop(Color color, float offset)
ParameterTypeDescription
colorColorThe gradient stop color.
offsetSingleThe gradient offset.

Return Value

New gradient stop.

See Also