GoDiagram Win 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.Go.GoToolResizing. By default it just calls Northwoods.Go.GoObject.ComputeResize, allowing reshaping if this object's Northwoods.Go.GoObject.CanReshape property is true and the view's last input's Northwoods.Go.GoInputEventArgs.Shift property is true. The resulting RectangleF value is used as this object's new Northwoods.Go.GoObject.Bounds if Northwoods.Go.GoObject.ResizesRealtime is true or if evttype is Northwoods.Go.GoInputState.Finish. Override Northwoods.Go.GoObject.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

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback