DisplayUnitsConverter class

The class contains the methods for converting values.

public static class DisplayUnitsConverter


Name Description
static InchToPoint(float) Converts inches to points.
static MillimeterToInch(float) Converts millimeters to inches.
static MillimeterToPoint(float) Converts millimeters to points.
static PixelToPoint(int, float) Converts pixels to points at the specified pixel resolution.
static PointToInch(float) Converts points to inches.
static PointToPixel(float, float) Converts points to pixels at the specified pixel resolution.

See Also