ToPixel

Length.ToPixel method

Converts the length to a number of pixels, if possible. If the current unit is relative, then an exception will be thrown.

public float ToPixel()

Return Value

The number of pixels represented by the current length.

See Also