GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoView Class / PickObject Method
If true, consider objects in document layers.
If true, consider objects in view layers.
The PointF in document coordinates at which to search.
If true, skip over any objects whose GoObject.CanSelect property is false.
In This Topic
    PickObject Method (GoView)
    In This Topic
    Find a visible object at a given point.
    Syntax
    public virtual GoObject PickObject( 
       bool doc,
       bool view,
       PointF p,
       bool selectableOnly
    )

    Parameters

    doc
    If true, consider objects in document layers.
    view
    If true, consider objects in view layers.
    p
    The PointF in document coordinates at which to search.
    selectableOnly
    If true, skip over any objects whose GoObject.CanSelect property is false.

    Return Value

    A GoObject that contains the p, or null if no such object exists.
    Remarks
    This method never actually selects any object--use GoSelection instead. Please note that if an object is found, it might not be a top-level object. 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