GoDiagram Web Reference
PickObjects Method (GoLayer)

A PointF location in document coordinates.
If true, only consider objects for which GoObject.CanSelect is true.
An IGoCollection that is modified by adding results and then returned. If this value is null, a GoCollection is allocated and returned.
A limit on the number of objects to be found and added to the result collection.
Return a collection of objects that can be picked at a particular point.
Syntax
'Declaration
 
Public Function PickObjects( _
   ByVal p As PointF, _
   ByVal selectableOnly As Boolean, _
   ByVal coll As IGoCollection, _
   ByVal max As Integer _
) As IGoCollection
public IGoCollection PickObjects( 
   PointF p,
   bool selectableOnly,
   IGoCollection coll,
   int max
)

Parameters

p
A PointF location in document coordinates.
selectableOnly
If true, only consider objects for which GoObject.CanSelect is true.
coll
An IGoCollection that is modified by adding results and then returned. If this value is null, a GoCollection is allocated and returned.
max
A limit on the number of objects to be found and added to the result collection.

Return Value

The coll argument, or a newly allocated one if that was null.
Remarks
See the remarks about PickObject.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoLayer Class
GoLayer Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback