Skip to main content
.NET Framework 4.5.2+

Units.PixelsToHundredthsOfInch(Int32, Single) Method

Converts a measurement from pixels to hundredths of an inch. Returns the converted measurement as an Integer.

Namespace: DevExpress.Office.Utils

Assembly: DevExpress.Office.v22.2.Core.dll

NuGet Package: DevExpress.Office.Core


public static int PixelsToHundredthsOfInch(
    int val,
    float dpi


Name Type Description
val Int32

An Integer pixels value to be converted to hundredths of an inch.

dpi Single

A dpi value of the Single type used for conversion.


Type Description

An Integer value.

See Also