TIEViewRulerParams.VertGripsCount
Declaration
property VertGripsCount: integer;
Description
Specifies the number of the grips on the vertical ruler.
Three grips displayed:
Default: 0
// Clear all grips
ImageEnView1.RulerParams.VertGripsCount := 0;
// Add twenty grips
ImageEnView1.RulerParams.VertGripsCount := 20;
// Set default color of grips to clSilver, but clRed for grips > 10
ImageEnView1.RulerParams.GripColorDefault := clSilver;
for i := 10 to ImageEnView1.RulerParams.VertGripsCount - 1 do
ImageEnView1.RulerParams.VertGripsColor[ i ] := clRed;