Eyeshot 10 WPF API Reference
GetAllVisibleItems Method

WPF Assembly > devDept.Eyeshot Namespace > ViewportLayout Class : GetAllVisibleItems Method
Selection rectangle in screen coordinates
When true, checks the devDept.Eyeshot.Entities.Entity.Selectable property, otherwise no.
Returns the list of all visible entities (which may include the parents stack for nested entities) in the specified selection box in the active viewport.
Syntax
'Declaration
 
Public Function GetAllVisibleItems( _
   ByVal selectionBox As Rectangle, _
   Optional ByVal selectableOnly As Boolean _
) As ViewportLayout.SelectedItem()
public ViewportLayout.SelectedItem[] GetAllVisibleItems( 
   Rectangle selectionBox,
   bool selectableOnly
)

Parameters

selectionBox
Selection rectangle in screen coordinates
selectableOnly
When true, checks the devDept.Eyeshot.Entities.Entity.Selectable property, otherwise no.

Return Value

The list of entity indices.
Remarks
The AssemblySelectionMode determines whether the top level entities or nested entities are returned.
See Also

Reference

ViewportLayout Class
ViewportLayout Members
AssemblySelectionMode Property
GetAllVisibleEntities Method
GetAllVisibleLabels Method