Eyeshot 10 WinForms API Reference
GetCrossingEntities Method

WinForms Assembly > devDept.Eyeshot Namespace > ViewportLayout Class : GetCrossingEntities Method
Selection Rectangle box in screen coordinates
When true, returns immediately after selecting the first entity
When true, checks the devDept.Eyeshot.Entities.Entity.Selectable property, otherwise no.
Returns the list of all the visible and selectable entities crossing the specified selection box.
Syntax
'Declaration
 
Protected Overridable Function GetCrossingEntities( _
   ByVal selectionBox As Rectangle, _
   ByVal firstOnly As Boolean, _
   Optional ByVal selectableOnly As Boolean _
) As Integer()
protected virtual int[] GetCrossingEntities( 
   Rectangle selectionBox,
   bool firstOnly,
   bool selectableOnly
)

Parameters

selectionBox
Selection Rectangle box in screen coordinates
firstOnly
When true, returns immediately after selecting the first entity
selectableOnly
When true, checks the devDept.Eyeshot.Entities.Entity.Selectable property, otherwise no.

Return Value

Remarks
All entities in the selectionBox are considered, even the ones covered by others.
See Also

Reference

ViewportLayout Class
ViewportLayout Members