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.
public virtual void ProcessSelection( 
Rectangle selectionBox
bool firstOnly
bool invert
out int[] added
List<int> removed
bool selectableOnly = 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

removed
List<int>

The list of entity indices of entities removed from selection

selectableOnly
bool

When true, checks the Entity.Selectable property, otherwise no.

Remarks
 
Call Invalidate to see the effect of this function.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition