TRVPrint.Units

<< Click to display table of contents >>

TRVPrint.Units

Defines measurement units for sizes in TRVPrint.

property Units: TRVUnits;

(introduced in version 15)

The following properties are measured in Units:

HeaderY;

FooterY;

Margins.

A direct assignment to this property does not change values of these properties. To convert properties, use ConvertToUnits method.

If Units = rvuPixels, one unit = 1/RichView.Style.UnitsPerInch of an inch, where RichView is a control assigned for printing by calling AssignSource method. When measuring on paper, they are recalculated according to the printer DPI.

Default value:

rvuMillimeters