Parameters
- value
- The value to convert, expressed in ResolvedUnit units.
- destDpi
- The destination resolution (DPI).
- truncate
- true to truncate the converted value, false to round it (slower but more precise).
Return Value
The converted value.
Depending on the truncate parameter, the converted value is either simply truncated, or rounded (slower but more precise).