[]
Converts a value from one unit of measurement to another.
public static double ConvertUnits(double value, UnitTypeEnum from, UnitTypeEnum to, float fromDpi, float toDpi)
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 |
|