GoDiagram Web Reference
DoResize Method (GoSubGraph)

ignored--this remembers the initial value of ComputeBorder
ignored--limited by ComputeInsideMargins
Handle resizing by changing the margins instead of resizing the children.
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
ignored--this remembers the initial value of ComputeBorder
newPoint
whichHandle
evttype
min
ignored--limited by ComputeInsideMargins
max
Remarks
This currently ignores the Reshapable property, which is assumed to be true. Although collapsed nodes are not normally meant to be resized, when this node is collapsed, this method will update the CollapsedTopLeftMargin and the CollapsedBottomRightMargin properties instead of the TopLeftMargin and the BottomRightMargin properties.
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

GoSubGraph Class
GoSubGraph Members
Base Implementation in DoResize

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback