GoDiagram Web Reference
ComputeBounds Method (GoObject)

Recalculates the actual bounding rectangle for this object when it might be invalid.
Syntax
'Declaration
 
Protected Overridable Function ComputeBounds() As RectangleF
protected virtual RectangleF ComputeBounds()

Return Value

The true bounding rectangle, in document coordinates.
Remarks
This method is called if the InvalidBounds property is true, and some code needs the value of the Bounds property or after the bounds have changed and OnBoundsChanged or GoGroup.GoGroup.OnChildBoundsChanged have been called. The InvalidBounds property is set back to false just before calling this method.
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