[]
Converts a value from one unit of measurement to another.
public static double ConvertUnits(double value, UnitTypeEnum from, UnitTypeEnum to, float fromDpi, float toDpi)
Public Shared Function ConvertUnits(value As Double, from As UnitTypeEnum, [to] As UnitTypeEnum, fromDpi As Single, toDpi As Single) As Double
| Type | Name | Description |
|---|---|---|
| double | value | The value to convert. |
| UnitTypeEnum | from | The source unit of measurement. |
| UnitTypeEnum | to | The target unit of measurement. |
| float | fromDpi | The source DPI (used if |
| float | toDpi | The target DPI (used if |
| Type | Description |
|---|---|
| double |
|