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.

Public Overridable Sub ProcessSelectionEnclosed( _ 
ByVal selectionBox As Rectangle, _ 
ByVal firstOnly As Boolean, _ 
ByVal invert As Boolean, _ 
ByRef added As Integer(), _ 
ByVal removed As List(Of Integer) _ 
)
This language is not supported or no code example is available.
public virtual void ProcessSelectionEnclosed( 
Rectangle selectionBox
bool firstOnly
bool invert
out int[] added
List<int> removed 
)
This language is not supported or no code example is available.

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

removed
List<int>

The list of entity indices of entities removed from selection

Remarks
 
Call Invalidate to see the effect of this function.

.NET Framework

Supported in: 4.8

In this article

Definition