DXGraphicsUnitConverter.Convert(Single, DXGraphicsUnit, DXGraphicsUnit) Method
Adjusts the document margins calculated for the specified unit of measure according to a new unit of measure.
Namespace: DevExpress.Drawing
Assembly: DevExpress.Drawing.v24.1.dll
NuGet Package: DevExpress.Drawing
Declaration
Parameters
Name | Type | Description |
---|---|---|
val | Single | The value to convert. |
fromUnit | DXGraphicsUnit | The initial unit of measure. |
toUnit | DXGraphicsUnit | The required unit of measure. |
Returns
Type | Description |
---|---|
Single | The conversion result. |
See Also