GoDiagram Web Reference
ComputeResize Method (GoObject)

the original bounding rectangle
the PointF, in document coordinates, to which to resize
the handle ID that is being resized
the minimum size allowed
the maximum size allowed
whether or not to allow reshaping of the object
Calculate a new bounding rectangle for this object.
Syntax
'Declaration
 
Public Overridable Function ComputeResize( _
   ByVal origRect As RectangleF, _
   ByVal newPoint As PointF, _
   ByVal handle As Integer, _
   ByVal min As SizeF, _
   ByVal max As SizeF, _
   ByVal reshape As Boolean _
) As RectangleF
public virtual RectangleF ComputeResize( 
   RectangleF origRect,
   PointF newPoint,
   int handle,
   SizeF min,
   SizeF max,
   bool reshape
)

Parameters

origRect
the original bounding rectangle
newPoint
the PointF, in document coordinates, to which to resize
handle
the handle ID that is being resized
min
the minimum size allowed
max
the maximum size allowed
reshape
whether or not to allow reshaping of the object

Return Value

A new RectangleF bounding rectangle, in document coordinates.
Remarks
This is normally called from DoResize.
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

GoObject Class
GoObject Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback