Environment.ProcessSelectionEnclosed (Rectangle, Boolean, Boolean, out Int32(), List<Int32>) Method
NOTE: This member is now obsolete. Use the overload with the SelectionChangedEventArgs parameter.
Selects each entity completely enclosed in the specified selection rectangle.
This method is deprecated. Use the overload with the SelectionChangedEventArgs parameter.
Parameters
- selectionBox
- Rectangle
Selection rectangle's in screen coordinates
- firstOnly
- bool
If true, returns immediately after selecting the first entity
- invert
- bool
If true, inverts current selection status
- added
- int[]
The list of entity indices of entities added to selection
The list of entity indices of entities removed from selection
Call Invalidate to see the effect of this function.