ImageEn, unit ievect

TImageEnVect.MaxSelectionDistance

TImageEnVect.MaxSelectionDistance


Declaration

property MaxSelectionDistance: integer;


Description

MaxSelectionDistance indicates the maximum distance (in bitmap pixels) from which an object may be selected.
If the user left clicks at a location beyond this distance, no object will be selected.

A value of -1 (the default) disables the maximum selection distance calculation (a click always selects some object).


Example

ImageEnVect1.MaxSelectionDistance := -1; // disables maximum distance

ImageEnVect1.MaxSelectionDistance := 10; // set maximum distance to 10 bitmap pixels


Transition Information

There is no TImageEnView Layer equivalent of MaxSelectionDistance