ImageEn, unit iexRulers

TIEViewRulerParams.HorzGripsCount

TIEViewRulerParams.HorzGripsCount


Declaration

property HorzGripsCount: integer;


Description

Specifies the number of the grips on the horizontal ruler.

Three grips displayed:



Default: 0


Examples

// Clear added grips
ImageEnView1.RulerParams.HorzGripsCount := 0;

// Add twenty grips
ImageEnView1.RulerParams.HorzGripsCount := 20;

// Set default color of grips to clSilver, but clRed for grips > 10
ImageEnView1.RulerParams.GripColorDefault := clSilver;
for i := 10 to ImageEnView1.RulerParams.HorzGripsCount - 1 do
  ImageEnView1.RulerParams.HorzGripsColor[ i ] := clRed;