GoDiagram Web Reference
DoResize Method (GoDrawing)

When the resize handles are at each point of the shape, the user's dragging of a resize handle should just change that point in the curve.
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
When ResizesRealtime is true, this method always calls SetPoint(Int32,PointF). Otherwise it only calls SetPoint(Int32,PointF) when the evttype is GoInputState.Finish or GoInputState.Cancel.
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

GoDrawing Class
GoDrawing Members
Base Implementation in DoResize

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback