Eyeshot 11 WinForms API Reference
WinForms 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.

In This Topic
    GetAllVisibleItems Method
    In This Topic
    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