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