Skip to main content

Units.PixelsToHundredthsOfMillimeter(Size, Single, Single) Method

Converts pixels to hundredths of millimeters.

Namespace: DevExpress.Office.Utils

Assembly: DevExpress.Office.v26.1.Core.dll

Declaration

public static Size PixelsToHundredthsOfMillimeter(
    Size val,
    float dpiX,
    float dpiY
)

Parameters

Name Type Description
val Size

The value in pixels.

dpiX Single

The horizontal resolution in dots per inch (DPI).

dpiY Single

The vertical resolution in dots per inch (DPI).

Returns

Type Description
Size

The value in hundredths of millimeters.

See Also