ImageEn, unit iesettings

TIEGlobalSettings.MinZoomDisplayGrid

TIEGlobalSettings.MinZoomDisplayGrid


Declaration

property MinZoomDisplayGrid: integer;


Description

Specifies the minimum value of zoom to display a grid (when DisplayGridKind is iedgPixelGrid or iedgAuto).

Default: 400


Example

// Draw a grid to show pixels when we zoom above 500%
IEGlobalSettings().GridPen.Color := clSilver;
IEGlobalSettings().GridPen.Style := psSolid;
IEGlobalSettings().GridPen.Mode  := pmNot;
IEGlobalSettings().MinZoomDisplayGrid := 500;
ImageEnView1.DisplayGridKind := iedgPixelGrid;


See Also

GridPen
GridMajorStep