Skip to main content

Units.PointsToPixels(Int32, Single) Method

Converts a value in points to pixels.

Namespace: DevExpress.Office.Utils

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

Declaration

public static int PointsToPixels(
    int val,
    float dpi
)

Parameters

Name Type Description
val Int32

A value in points.

dpi Single

The resolution in dots per inch (DPI).

Returns

Type Description
Int32

A value in pixels.

See Also