GraphicsDpi.UnitToDpiI(GraphicsUnit) Method
Converts the specified unit of measure to a corresponding DPI value.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Data.v24.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
unit | GraphicsUnit | A GraphicsUnit enumeration value. |
Returns
Type | Description |
---|---|
Single | A Single value. |
Remarks
When the unit parameter value is equal to Pixel or World, this method returns the GraphicsDpi.DeviceIndependentPixel value. To obtain a GraphicsDpi.Pixel value instead, use the GraphicsDpi.UnitToDpi method.
See Also