Unit.FromPixels

Unit.FromPixels method

Returns a Length object that is represented in pixels.

public static Length FromPixels(double value)
ParameterTypeDescription
valueDoubleThe value.

Return Value

Returns a Length object.

See Also