DXGraphicsUnitExtensions.ToDpi(DXGraphicsUnit) Method
In This Article
Converts a DXGraphicsUnit
object to a DPI number.
Namespace: DevExpress.Drawing.Extensions
Assembly: DevExpress.Drawing.v24.2.dll
NuGet Package: DevExpress.Drawing
#Declaration
public static float ToDpi(
this DXGraphicsUnit unit
)
#Parameters
Name | Type | Description |
---|---|---|
unit | DXGraphics |
An enumeration value that indicates the unit type. |
#Returns
Type | Description |
---|---|
Single | The DPI number. |
See Also