Skip to main content

Units.PixelsToHundredthsOfMillimeter(Int32, Single) Method

Converts pixels to hundredths of millimeters.

Namespace: DevExpress.Office.Utils

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

Declaration

public static int PixelsToHundredthsOfMillimeter(
    int val,
    float dpi
)

Parameters

Name Type Description
val Int32

The value in pixels.

dpi Single

The resolution in dots per inch (DPI).

Returns

Type Description
Int32

The value in hundredths of millimeters.

See Also