Skip to main content
All docs
V24.1

DXGraphicsUnitExtensions.ToDpiI(DXGraphicsUnit) Method

Converts a DXGraphicsUnit object to a DPI number using the device-independent Pixel constant.

Namespace: DevExpress.Drawing.Extensions

Assembly: DevExpress.Drawing.v24.1.dll

NuGet Package: DevExpress.Drawing

Declaration

public static float ToDpiI(
    this DXGraphicsUnit unit
)

Parameters

Name Type Description
unit DXGraphicsUnit

An enumeration value to convert.

Returns

Type Description
Single

The DPI number.

See Also