Skip to main content

Units.DocumentsToPixels(Int32, Single) Method

Converts the specified value in documents to pixels.

Namespace: DevExpress.Office.Utils

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

Declaration

public static int DocumentsToPixels(
    int val,
    float dpi
)

Parameters

Name Type Description
val Int32

The value in documents to convert.

dpi Single

The resolution of the display device, in dots per inch.

Returns

Type Description
Int32

The value converted to pixels.

See Also