GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoObject Class / ComputeBounds Method
In This Topic
    ComputeBounds Method (GoObject)
    In This Topic
    Recalculates the actual bounding rectangle for this object when it might be invalid.
    Syntax
    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.
    See Also