ImageEn, unit iesettings

TIEImageEnGlobalSettings.GuidelineCount

TIEImageEnGlobalSettings.GuidelineCount


Declaration

property GuidelineCount: integer;


Description

Specifies the minimum number of guide lines to draw in each dimension (when DisplayGridKind is iedgGuideLines).

Default: 5

Note: Guidelines always have equal horizontal and vertical spacing (i.e. are square) so there will generally be more lines in one dimension than the other. E.g. if GuidelineCount=10 then for a portrait image there will be 10 horizontal lines and 13 vertical lines.


Example

// Enable guide lines to help line up images when manually rotating
IEGlobalSettings().GridPen.Color := clSilver;
IEGlobalSettings().GridPen.Style := psDot;
IEGlobalSettings().GridPen.Mode := pmCopy;
IEGlobalSettings().GuidelineCount := 4;
ImageEnView1.DisplayGridKind := iedgGuideLines;


See Also

- GridPen
- GridMajorStep