DXGraphicsUnitExtensions.ToDpi(DXGraphicsUnit) Method
Converts a DXGraphicsUnit object to a DPI number.
Namespace: DevExpress.Drawing.Extensions
Assembly: DevExpress.Drawing.v25.1.dll
NuGet Package: DevExpress.Drawing
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| unit | DXGraphicsUnit | An enumeration value that indicates the unit type. |
Returns
| Type | Description |
|---|---|
| Single | The DPI number. |
See Also