GoDiagram Win Reference
UpdateDocumentBounds Method

Called when a document object's bounds changes to possibly update the document's bounds.
Syntax
'Declaration
 
Public Overridable Sub UpdateDocumentBounds( _
   ByVal obj As GoObject _
) 
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.
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

GoDocument Class
GoDocument Members

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback