类 DisplayUnitsConverter

DisplayUnitsConverter class

该类包含用于转换值的方法。

public static class DisplayUnitsConverter

方法

名称描述
static InchToPoint(float)将英寸转换为点。
static MillimeterToInch(float)将毫米转换为英寸。
static MillimeterToPoint(float)将毫米转换为点。
static PixelToPoint(int, float)在指定的像素分辨率下,将像素转换为点。
static PointToInch(float)将点转换为英寸。
static PointToPixel(float, float)在指定的像素分辨率下,将点转换为像素。

另请参阅