GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoDocument Class / UpdateDocumentBounds Method
In This Topic
    UpdateDocumentBounds Method
    In This Topic
    Called when a document object's bounds changes to possibly update the document's bounds.
    Syntax
    public virtual void UpdateDocumentBounds( 
       GoObject obj
    )

    Parameters

    obj
    Remarks
    This method does nothing if FixedSize is true. Otherwise it increases the Size property and moves the TopLeft point farther towards negative coordinates as needed to include the obj's bounds. By default this method never shrinks the document. Note also that this method is not called while SuspendsUpdates is true. If you do add objects or modify their bounds while SuspendsUpdates is true, afterwards you can explicitly set TopLeft and Size to accommodate the new or modified document objects.
    See Also