ImageEn, unit imageenview |
|
TImageEnView.ShowRulers
Declaration
property ShowRulers: TRulerDirs;
Description
Specify whether rulers are shown on the TImageEnView. Rulers show the current position of the cursor and can include optional grips to mark the position of other objects.
Use
RulerParams to configure the ruler properties.
Default: [] (No rulers)
| Demos\Other\ImageEnViewRulers\ImageEnViewRulers.dpr |
// Show rulers in TImageEnView
ImageEnView1.ShowRulers := [ rdHorizontal, rdVertical ];
// Set units to CM
ImageEnView1.RulerParams.Units := ieuCentimeters;