TCustomRuler.UnitsDisplay, UnitsProgram

<< Click to display table of contents >>

TCustomRuler.UnitsDisplay, UnitsProgram

Measure units.

property UnitsDisplay: TRulerUnits;
property UnitsProgram: TRulerUnits;

UnitsDisplay defines units that the ruler displays. It's recommended to assign the value corresponding to TRVAControlPanel.UnitsDisplay.

UnitsProgram is used internally in the ruler (for properties of TRulerFloat type), it rarely need to be changed.

 

Default value

ruCentimeters