DisplayUnitsConverter.PointToPixel

DisplayUnitsConverter.PointToPixel method

在指定的像素分辨率下,将点转换为像素。

public static int PointToPixel(float points, float dpi)
参数类型描述
Single要转换的点值。
dpiSingle屏幕分辨率。

返回值

Int32。

另请参阅