Skip to main content

Units.DocumentsToPixels(Point, Single, Single) Method

Converts the specified value in documents to pixels.

Namespace: DevExpress.Office.Utils

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

Declaration

public static Point DocumentsToPixels(
    Point val,
    float dpiX,
    float dpiY
)

Parameters

Name Type Description
val Point

The value in documents to convert.

dpiX Single

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

dpiY Single

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

Returns

Type Description
Point

The value converted to pixels.

See Also