Environment.ProcessSelectionVisibleOnlyLabels Method

Selects only visible labels in the specified rectangle.
Public Overridable Sub ProcessSelectionVisibleOnlyLabels( _ 
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 ProcessSelectionVisibleOnlyLabels( 
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 data where the added and removed labels are written

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