GoDiagram Win Reference
PickNewAnchor Method

the point (in document coordinates) currently specified by the user's mouse
This method is called repeatedly by DoResize while the user is dragging the AnchorHandle resize handle.
Syntax
'Declaration
 
Protected Overridable Sub PickNewAnchor( _
   ByVal p As PointF, _
   ByVal view As GoView, _
   ByVal evttype As GoInputState _
) 
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.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoBalloon Class
GoBalloon Members

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback