public IGoCollection PickObjectsInRectangle( RectangleF rect, GoPickInRectangleStyle pickstyle, IGoCollection coll, int max )
Parameters
- rect
- A
RectangleF
in document coordinates. - pickstyle
- If GoPickInRectangleStyle.SelectableOnlyContained or GoPickInRectangleStyle.SelectableOnlyIntersectsBounds, 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.