GoDiagram Web Reference
ComputeDocumentBounds Method (GoView)

Determine the actual extent of all of the objects in the document as seen by this view.
Syntax
'Declaration
 
Public Overridable Function ComputeDocumentBounds() As RectangleF
public virtual RectangleF ComputeDocumentBounds()

Return Value

A RectangleF in document coordinates
Remarks
This is called by methods such as RescaleToFit, that want to know how much area is taken up by visible document objects. DocumentSize is different in that that property is likely to be less changeable as objects are moved or deleted.
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

GoView Class
GoView Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback