Environment.ProcessSelection (Rectangle, Boolean, Boolean, SelectionChangedEventArgs, Boolean) Method

Selects each entity crossing the specified selection rectangle.
Public Overridable Sub ProcessSelection( _ 
ByVal selectionBox As Rectangle, _ 
ByVal firstOnly As Boolean, _ 
ByVal invert As Boolean, _ 
ByVal eventArgs As SelectionChangedEventArgs, _ 
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
SelectionChangedEventArgs eventArgs
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

eventArgs
SelectionChangedEventArgs

The selection changed data

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