Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot Namespace / ViewportLayout Class / ProcessSelection Method / ProcessSelection(Rectangle,Boolean,Boolean,SelectionChangedEventArgs,Boolean) Method
Selection rectangle in screen coordinates
When true, returns immediately after selecting the first entity
When true, inverts current selection status
The selection changed data
When true, checks the devDept.Eyeshot.Entities.Entity.Selectable property, otherwise no.

In This Topic
    ProcessSelection(Rectangle,Boolean,Boolean,SelectionChangedEventArgs,Boolean) Method
    In This Topic
    Selects each entity crossing the specified selection rectangle.
    Syntax
    'Declaration
     
    Public Overloads Overridable Sub ProcessSelection( _
       ByVal selectionBox As Rectangle, _
       ByVal firstOnly As Boolean, _
       ByVal invert As Boolean, _
       ByVal eventArgs As ViewportLayout.SelectionChangedEventArgs, _
       Optional ByVal selectableOnly As Boolean _
    ) 
    public virtual void ProcessSelection( 
       Rectangle selectionBox,
       bool firstOnly,
       bool invert,
       ViewportLayout.SelectionChangedEventArgs eventArgs,
       bool selectableOnly
    )

    Parameters

    selectionBox
    Selection rectangle in screen coordinates
    firstOnly
    When true, returns immediately after selecting the first entity
    invert
    When true, inverts current selection status
    eventArgs
    The selection changed data
    selectableOnly
    When true, checks the devDept.Eyeshot.Entities.Entity.Selectable property, otherwise no.
    Remarks
    Call System.Windows.Forms.Control.Invalidate(System.Drawing.Region) to see the effect of this function.All entities in the selectionBox are considered, even the ones covered by others.
    See Also