ImageEn, unit imageenview |
|
TImageEnView.RulerParams
Declaration
property RulerParams: TIEViewRulerParams;
Description
Allows you to configure the properties of your
rulers.
| Demos\Other\ImageEnViewRulers\ImageEnViewRulers.dpr |
// Show rulers in TImageEnView
ImageEnView1.ShowRulers := [ rdHorizontal, rdVertical ];
// Set units to CM
ImageEnView1.RulerParams.Units := ieuCentimeters;
// Disable units popup menu (when clicking on ruler)
ImageEnView1.RulerParams.EnablePopupMenu := False;