Skip to main content

Units.TwipsToPixels(Rectangle, Single, Single) Method

Converts a value in twips to pixels.

Namespace: DevExpress.Office.Utils

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

Declaration

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

Parameters

Name Type Description
val Rectangle

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
Rectangle

A value in pixels.

See Also