Skip to main content

Units.HundredthsOfMillimeterToPixels(Int32, Single) Method

Converts a value in hundredths of millimeters to pixels.

Namespace: DevExpress.Office.Utils

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

Declaration

public static int HundredthsOfMillimeterToPixels(
    int val,
    float dpi
)

Parameters

Name Type Description
val Int32

A value in hundredths of millimeters.

dpi Single

The resolution in dots per inch (DPI).

Returns

Type Description
Int32

A value in pixels.

See Also