ImageEn, unit iexRulers

TIEViewRulerParams.Frequency

TIEViewRulerParams.Frequency


Declaration

property Frequency: double;


Description

Specifies the number of logical units where ticks are shown.

Use LabelFrequency to configure labels and longer tick marks.

Note: This value is set automatically when changing Units.



Default: 10


Example

ImageEnView1.LockUpdate();
ImageEnView1.RulerParams.Units := ieuInches;
ImageEnView1.RulerParams.LabelFrequency := 1/4; // Labels every quarter inch
ImageEnView1.RulerParams.Frequency := 1/32; // Ticks every 1/32 inch
ImageEnView1.UnlockUpdate();