ImageEn, unit iexRulers

TIERulerSnapping


Declaration

TIERulerSnapping = (iesnNone, iesnSnapToTick, iesnSnapToLabel, iesnSnapToWholeNumber);


Description

Item Description
iesnNone Do not adjust grip positions
iesnSnapToTick Automatically move grips to the nearest tick
iesnSnapToLabel Automatically move grips to the nearest label (long tick)
iesnSnapToWholeNumber Automatically move grips to the nearest whole value on the ruler (e.g. move to 2.0 inches)

Default: iesnNone


Example

// Snap to the nearest label tick
ImageEnView1.RulerParams.SnapGrips := iesnSnapToLabel;

// Snap to the nearest whole number on the ruler
ImageEnView1.RulerParams.SnapGrips := iesnSnapToWholeNumber;