Skip to main content

Units.TwipsToPixels(Point, Single, Single) Method

Converts a value in twips to pixels.

Namespace: DevExpress.Office.Utils

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

Declaration

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

Parameters

Name Type Description
val Point

A value in twips.

dpiX Single

The horizontal resolution in dots per inch (DPI).

dpiY Single

The vertical resolution in dots per inch (DPI).

Returns

Type Description
Point

A value in pixels.

See Also