GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoView Class / PickObjects Method
If true, consider objects in document layers.
If true, consider objects in view layers.
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.
In This Topic
    PickObjects Method (GoView)
    In This Topic
    Return a collection of objects that can be picked at a particular point.
    Syntax

    Parameters

    doc
    If true, consider objects in document layers.
    view
    If true, consider objects in view layers.
    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
    This calls GoLayer.PickObjects on each of the GoLayers used by this view and as filtered by the doc and view arguments, in reverse order, from front to back. Please note that when objects are found, they might not be a top-level objects. In fact, when selectableOnly is false, it is very likely that if any object is found at the given point, it will be a child of some group.
    See Also