Environment.ProcessSelectionVisibleOnly Method

Selects only visible entities in the specified rectangle.
Public Overridable Sub ProcessSelectionVisibleOnly( _ 
ByVal selectionBox As Rectangle, _ 
ByVal firstOnly As Boolean, _ 
ByVal invert As Boolean, _ 
ByVal eventArgs As SelectionChangedEventArgs, _ 
Optional ByVal selectableOnly As Boolean = true, _ 
Optional ByVal temporarySelection As Boolean = false _ 
)
This language is not supported or no code example is available.
public virtual void ProcessSelectionVisibleOnly( 
Rectangle selectionBox
bool firstOnly
bool invert
SelectionChangedEventArgs eventArgs
bool selectableOnly = true, 
bool temporarySelection = false 
)
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

If true, inverts current selection status

eventArgs
SelectionChangedEventArgs

The selection changed data

selectableOnly
bool

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

temporarySelection
bool

Tells if the selection is part of a dynamic selection session (see actionType.SelectVisibleByPickDynamic)

Remarks
 
Call Invalidate to see the effect of this function.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition