GraphicsDpi.UnitToString(GraphicsUnit) Method
Returns a string value, identifying the specified unit of measure.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Data.v24.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
unit | GraphicsUnit | A GraphicsUnit enumeration value. |
Returns
Type | Description |
---|---|
String | A String value. |
Remarks
When the unit parameter value is equal to Millimeter, this method returns “mm”.
When this parameter value is equal to Inch, this method returns “in”.
When this parameter is set to any other GraphicsUnit value, this method returns a String.Empty value.
See Also