GoDiagram Web Reference
DoResize Method (GoLink)

the GoView whose GoToolResizing is calling this method
the original Bounds of the object, but probably not useful for links
the PointF, in document coordinates, to which the resize handle is being dragged
The IGoHandle.IGoHandle.HandleID of the handle being dragged. Possible values include:
the value of GoToolResizing.GoToolResizing.MinimumSize, but probably not useful for links
the value of GoToolResizing.GoToolResizing.MaximumSize, but probably not useful for links
Handle resizing in the same manner as GoStroke, but when Orthogonal is true, we move both points of the middle segment in order to maintain orthogonality.
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
the GoView whose GoToolResizing is calling this method
origRect
the original Bounds of the object, but probably not useful for links
newPoint
the PointF, in document coordinates, to which the resize handle is being dragged
whichHandle
The IGoHandle.IGoHandle.HandleID of the handle being dragged. Possible values include:
  • movement of this handle near the FromPort is constrained to be in the vertical direction because this link is Orthogonal
  • movement of this handle near the FromPort is constrained to be in the horizontal direction because this link is Orthogonal
  • movement of this handle near the ToPort is constrained to be in the vertical direction because this link is Orthogonal
  • movement of this handle near the ToPort is constrained to be in the horizontal direction because this link is Orthogonal
  • move both ends of the segment starting with the point whose index is the value minus GoObject.LastHandle minus 1000000, because Orthogonal and DraggableOrthogonalSegments are both true
  • set the point whose index is the value minus GoObject.LastHandle
  • this case is normally handled by GoToolRelinking rather than by this method
  • this case is normally handled by GoToolRelinking rather than by this method
  • this case usually means that the GoHandle should not be dragged
evttype
min
the value of GoToolResizing.GoToolResizing.MinimumSize, but probably not useful for links
max
the value of GoToolResizing.GoToolResizing.MaximumSize, but probably not useful for links
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

GoLink Class
GoLink Members
Base Implementation in DoResize

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback