GoDiagram Web Reference
DoResize Method (GoBalloon)

When resizing the AnchorHandle, call PickNewAnchor to consider other objects as anchors for this balloon.
Syntax
'Declaration
 
Public Overrides Sub DoResize( _
   ByVal view As GoView, _
   ByVal origRect As RectangleF, _
   ByVal newPoint As PointF, _
   ByVal whichHandle As Integer, _
   ByVal evttype As GoInputState, _
   ByVal min As SizeF, _
   ByVal max As SizeF _
) 
public override void DoResize( 
   GoView view,
   RectangleF origRect,
   PointF newPoint,
   int whichHandle,
   GoInputState evttype,
   SizeF min,
   SizeF max
)

Parameters

view
origRect
newPoint
whichHandle
evttype
min
max
Remarks

PickNewAnchor is called each time this method is called, as long as the handle is AnchorHandle. The implementation of PickNewAnchor will actually set Anchor when evttype is GoInputState.Finish.

Instead of reusing the resizing mechanism to reanchor a balloon, we may replace this mechanism with a separate reanchoring tool, if the need for more flexibility becomes apparent.

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
Base Implementation in DoResize

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback