|
TRVDocParameters.Units |
Top Previous Next |
|
Measurement units for all sizes in TRVDocParameters. type TRVUnits = (rvuInches, rvuCentimeters, rvuMillimeters, rvuPicas, rvuPixels, rvuPoints); property Units: TRVUnits; Note: TRVUnits is defined in RVStyle unit.
If RichViewPixelsPerInch is positive, it is used for calculation of number of screen pixels in one inch. Otherwise, Screen.PixelsPerInch is used. In the latter case, values in rvuPixels depend on the screen resolution and cannot be used in WYSIWYG editors. Assignment to this property does not change other properties. Use ConvertToUnits to convert all sizes to new units. Use UnitsPerInch to convert values between units. |