Environment.GetAllVisibleItems Method

Returns the list of all visible items (which may include the parents stack for nested entities) in the specified selection box in the active viewport.
Public Function GetAllVisibleItems( _ 
ByVal selectionBox As Rectangle, _ 
Optional ByVal selectableOnly As Boolean = true _ 
) As SelectedItem()
This language is not supported or no code example is available.
public SelectedItem[] GetAllVisibleItems( 
Rectangle selectionBox
bool selectableOnly = true 
)
This language is not supported or no code example is available.

Parameters

selectionBox
Rectangle

Selection rectangle in screen coordinates

selectableOnly
bool

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

Return Value

SelectedItem[]

The selected items array.

Remarks
 

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition