DXGraphicsUnitConverter.Convert(SizeF, 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 |
---|---|---|
size | SizeF | The size to convert. |
fromUnit | DXGraphicsUnit | The initial unit of measure. |
toUnit | DXGraphicsUnit | The required unit of measure. |
Returns
Type | Description |
---|---|
SizeF | The conversion result. |
See Also