GraphicsDpi.UnitToString(GraphicsUnit) Method
In This Article
Returns a string value, identifying the specified unit of measure.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Data.v24.2.dll
NuGet Package: DevExpress.Data
#Declaration
public static string UnitToString(
GraphicsUnit unit
)
#Parameters
Name | Type | Description |
---|---|---|
unit | Graphics |
A Graphics |
#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