ImageEn, unit imageenview

TImageEnView.ZoneCursorSize

TImageEnView.ZoneCursorSize


Declaration

property ZoneCursorSize: Integer;


Description

Specify the size of the square or circular zone cursor.

Zone Cursor Brush while Cloning:



Note:
The actual display size will be affected by Zoom. I.e. at 50% zoom a Zone cursor of 50 pixels will display as 25 pixels
The circle/rectangle will not be drawn unless ZoneCursorSize > 5
To specify a zone cursor of a width different from its height, set ZoneCursorSize to Width * 10000 + Height
If the cursor flickers excessively, you should set ImageEnView1.DoubleBuffered := True;

Default: 50


Example

// Use a large circular cursor
ImageEnView1.ZoneCursor := iecsCircle;
ImageEnView1.ZoneCursorSize := 100;
ImageEnView1.Update();

// Use a rectangular cursor of 100 x 50 pixels
ImageEnView1.ZoneCursor := iecsRectangle;
ImageEnView1.ZoneCursorSize := 100 * 10000 + 50;
ImageEnView1.Update();


See Also

ZoneCursor
AutoCursors
Cursor
SetZoneCursorBitmap