Skip to main content

Units.TwipsToPixels(Size, Single, Single) Method

Converts a value in twips to pixels.

Namespace: DevExpress.Office.Utils

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

Declaration

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

Parameters

Name Type Description
val Size

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
Size

A value in pixels.

See Also