GoDiagram Web Reference
ComputeResize Method (GoTrapezoid)

Calculate a new bounding rectangle for this object.
Syntax
'Declaration
 
Public Overrides 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 override RectangleF ComputeResize( 
   RectangleF origRect,
   PointF newPoint,
   int handle,
   SizeF min,
   SizeF max,
   bool reshape
)

Parameters

origRect
newPoint
handle
min
max
reshape

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

GoTrapezoid Class
GoTrapezoid Members
Base Implementation in ComputeResize

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback