Eyeshot 10 WinForms API Reference
GetAllVisibleEntities Method

WinForms Assembly > devDept.Eyeshot Namespace > ViewportLayout Class : GetAllVisibleEntities 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 in the specified selection box in the active viewport.
Syntax
'Declaration
 
Public Function GetAllVisibleEntities( _
   ByVal selectionBox As Rectangle, _
   Optional ByVal selectableOnly As Boolean _
) As Integer()
public int[] GetAllVisibleEntities( 
   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.
See Also

Reference

ViewportLayout Class
ViewportLayout Members
GetAllVisibleItems Method
GetAllVisibleLabels Method