public IGoCollection PickObjectsInRectangle( bool doc, bool view, RectangleF rect, GoPickInRectangleStyle pickstyle, IGoCollection coll, int max )
Parameters
- doc
- If true, consider objects in document layers.
- view
- If true, consider objects in view layers.
- 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.