<< Click to display table of contents >> TRVDocParameters.UnitsPerInch |
Returns the number of Units in one inch.
function UnitsPerInch(Units: TRVUnits): TRVLength;
This method can be used to convert between measurement units.
For example, this code converts from points to millimeters:
ValueMM := ValuePoints * UnitsPerInch(rvuMillimeters) / UnitsPerInch(rvuPoints);
See the note about rvuPixels in the topic about Units.