GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoBalloon Class / PickNewAnchor Method
the point (in document coordinates) currently specified by the user's mouse
In This Topic
    PickNewAnchor Method
    In This Topic
    This method is called repeatedly by DoResize while the user is dragging the AnchorHandle resize handle.
    Syntax
    protected virtual void PickNewAnchor( 
       PointF p,
       GoView view,
       GoInputState evttype
    )

    Parameters

    p
    the point (in document coordinates) currently specified by the user's mouse
    view
    evttype
    Remarks
    When evttype is GoInputState.GoInputState.Finish, this calls GoView.PickObject to find the selectable document object at the given point p. The Anchor is set to that object. If no object is found at that point, the Anchor is set to null and the UnanchoredOffset is set to the offset between that point and the GoComment.Label's Position. If the user tries to reanchor this balloon to itself, no change is made. This method does nothing unless the evttype is GoInputState.Finish.
    See Also