GoDiagram Web Reference
DoResize Method (GraduatedScaleElliptical)

Called when a user resizes this object.
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
This is normally called from Northwoods.GoWeb.GoToolResizing. By default it just calls ComputeResize, allowing reshaping if this object's CanReshape property is true and the view's last input's Northwoods.GoWeb.GoInputEventArgs.Shift property is true. The resulting RectangleF value is used as this object's new Northwoods.GoWeb.GoObject.Bounds if Northwoods.GoWeb.GoObject.ResizesRealtime is true or if evttype is Northwoods.GoWeb.GoInputState.Finish. Override ComputeResize if you want to constrain the user's resizing of this object without regard to the actual view or input events causing the resize.
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

GraduatedScaleElliptical Class
GraduatedScaleElliptical Members
Base Implementation in DoResize

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback