DisplayUnitsConverter.PixelToPoint

DisplayUnitsConverter.PixelToPoint method

Converts pixels to points at the specified pixel resolution.

public static float PixelToPoint(int pixels, float dpi)
ParameterTypeDescription
pixelsInt32The value to convert in pixels.
dpiSingleScreen resolution.

Return Value

The Int32.

See Also