Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot Namespace / ViewportLayout Class / GetAllCrossingEntities Method
Selection rectangle's in screen coordinates
When true, checks the devDept.Eyeshot.Entities.Entity.Selectable property, otherwise no.

In This Topic
    GetAllCrossingEntities Method
    In This Topic
    Returns the list of all the visible and selectable entities geometrically crossing the selection box, regardless of their actual visibility on screen.
    Syntax
    'Declaration
     
    Public Function GetAllCrossingEntities( _
       ByVal selectionBox As Rectangle, _
       Optional ByVal selectableOnly As Boolean _
    ) As Integer()
    public int[] GetAllCrossingEntities( 
       Rectangle selectionBox,
       bool selectableOnly
    )

    Parameters

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

    Return Value

    The list of entity indices.
    Remarks
    All entities in the selectionBox are considered, even the ones covered by others.
    See Also