ImageEn, unit iexRulers

TIEViewRulerParams.LabelFrequency

TIEViewRulerParams.LabelFrequency


Declaration

property LabelFrequency: double;


Description

Specifies the number of logical units where to show the labels (and longer tick marks).

Use Frequency to configure short tick marks.


Note:
 This value is set automatically when changing Units.
 Labels may be hidden if the view is crowded and MinLabelSpacing has been set

Default: 40


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();