TIEViewRulerParams
Declaration
TIEViewRulerParams = class;
Description
Specifies the
properties of embedded rulers within a TImageEnView (if
ShowRulers is not []).
Note: Use
TImageEnView.SetScale to adjust the scale of units
Examples
// Show rulers in TImageEnView
ImageEnView1.ShowRulers := [ rdHorizontal, rdVertical ];
// Set units to CM
ImageEnView1.RulerParams.Units := ieuCentimeters;
// Show grips as a line
ImageEnView1.RulerParams.GripKindDefault := gkLine;
// Display rulers with full size cross hairs
ImageEnView1.ZoneCursor := iecsFullCrossHairs;
ImageEnView1.ShowRulers := [ rdHorizontal, rdVertical ];
ImageEnView1.RulerParams.GripHeight := 0; // Hide grip region
ImageEnView1.Update();
Methods and Properties
Display
Grip Properties
Other
Events