DXGraphicsUnitConverter.Convert(Int32, Single, Single) Method
Adjusts the integer value 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 |
---|---|---|
val | Int32 | The value to convert. |
fromDpi | Single | The initial DPI setting. |
toDpi | Single | The required DPI setting. |
Returns
Type | Description |
---|---|
Int32 | The conversion result. |
See Also