DXGraphicsUnitConverter.Convert(SizeF, Single, Single) Method
Adjusts the document margins calculated for the specified DPI according to a new DPI.
Namespace: DevExpress.Drawing
Assembly: DevExpress.Drawing.v24.1.dll
NuGet Package: DevExpress.Drawing
Declaration
Parameters
Name | Type | Description |
---|---|---|
size | SizeF | A size to convert. |
fromDpi | Single | The initial DPI setting. |
toDpi | Single | The required DPI setting. |
Returns
Type | Description |
---|---|
SizeF | The conversion result. |
See Also