Eyeshot 10 WinForms API Reference
ProcessSelectionVisibleOnly Method

WinForms Assembly > devDept.Eyeshot Namespace > ViewportLayout Class : ProcessSelectionVisibleOnly Method
Selection rectangle in screen coordinates
When true, returns immediately after selecting the first entity
If true, inverts current selection status
The selection changed data
When true, checks the devDept.Eyeshot.Entities.Entity.Selectable property, otherwise no.
Tells if the selection is part of a dynamic selection session (see actionType.SelectVisibleByPickDynamic)
Selects only visible entities in the specified rectangle.
Syntax
'Declaration
 
Public Overridable Sub ProcessSelectionVisibleOnly( _
   ByVal selectionBox As Rectangle, _
   ByVal firstOnly As Boolean, _
   ByVal invert As Boolean, _
   ByVal eventArgs As ViewportLayout.SelectionChangedEventArgs, _
   Optional ByVal selectableOnly As Boolean, _
   Optional ByVal temporarySelection As Boolean _
) 
public virtual void ProcessSelectionVisibleOnly( 
   Rectangle selectionBox,
   bool firstOnly,
   bool invert,
   ViewportLayout.SelectionChangedEventArgs eventArgs,
   bool selectableOnly,
   bool temporarySelection
)

Parameters

selectionBox
Selection rectangle in screen coordinates
firstOnly
When true, returns immediately after selecting the first entity
invert
If true, inverts current selection status
eventArgs
The selection changed data
selectableOnly
When true, checks the devDept.Eyeshot.Entities.Entity.Selectable property, otherwise no.
temporarySelection
Tells if the selection is part of a dynamic selection session (see actionType.SelectVisibleByPickDynamic)
Remarks
Call System.Windows.Forms.Control.Invalidate(System.Drawing.Region) to see the effect of this function.
See Also

Reference

ViewportLayout Class
ViewportLayout Members