ImageEn, unit imageenview

TIESelOp


Declaration

TIESelOp = (iespReplace, iespAdd, iespSubtract);


Description

Value Description
iespReplace Replaces the existing selection (i.e. existing selection is cleared)
iespAdd Adds to the existing selection
iespSubtract Removes from the existing selection

Note:
 iespAdd is the programmatic equivalent of holding down the Shift key while drag selecting
 iespSubtract is the programmatic equivalent of holding down the Ctrl key while drag selecting
 Also see: ShiftKeyLock


Example

// Subtract a circular area from a rectangular selection
ImageEnView1.Select( 42, 133, 326, 214, iespReplace );
ImageEnView1.SelectEllipse( 145, 130, 155, 170, iespSubtract );