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

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