Environment.ProcessSelection (Rectangle, Boolean, Boolean, Int32(), List<Int32>, Boolean) Method
NOTE: This member is now obsolete. Use the overload with the SelectionChangedEventArgs parameter.
Selects each entity crossing the specified selection rectangle.
This method is deprecated. Use the overload with the SelectionChangedEventArgs parameter.
Public Overridable Sub ProcessSelection( _
ByVal selectionBox As Rectangle, _
ByVal firstOnly As Boolean, _
ByVal invert As Boolean, _
ByRef added As Integer(), _
ByVal removed As List(Of Integer), _
Optional ByVal selectableOnly As Boolean = true _
)
This language is not supported or no code example is available.
Parameters
- selectionBox
- Rectangle
Selection rectangle in screen coordinates
- firstOnly
- bool
When true, returns immediately after selecting the first entity
- invert
- bool
When 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
- selectableOnly
- bool
When true, checks the Entity.Selectable property, otherwise no.
Call Invalidate to see the effect of this function.