GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoGroup Class / PickObjects Method
A PointF location in document coordinates.
If true, only consider objects for which GoObject.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.
In This Topic
    PickObjects Method (GoGroup)
    In This Topic
    Return a collection of objects that can be picked at a particular point.
    Syntax
    public virtual 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.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
    For a group, this is implemented to add the object found by a call to Pick, if any object is found. Thus for a typical node that happens to have several objects underneath each other, only the top-most (front-most) object is added. If GoObject.GoObject.CanView is false for this group, no children are added to the collection.
    See Also