GraphicsUnitConverter.Convert(Size, GraphicsUnit, GraphicsUnit) Method
Adjusts the size calculated for the specified unit of measure according to a new unit of measure.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Data.v24.2.dll
NuGet Package: DevExpress.Data
Declaration
Parameters
Name | Type | Description |
---|---|---|
val | Size | A Size structure. |
fromUnit | GraphicsUnit | A GraphicsUnit enumeration value, specifying the initial unit of measure. |
toUnit | GraphicsUnit | A GraphicsUnit enumeration value, specifying the required unit of measure. |
Returns
Type | Description |
---|---|
Size | A Size structure. |
See Also