GoDiagram Web Reference
ComputeBounds(IGoCollection,GoView) Method

May be null.
Get the smallest rectangle that includes the bounds of all of the objects in a collection.
Syntax
'Declaration
 
Public Overloads Shared Function ComputeBounds( _
   ByVal coll As IGoCollection, _
   ByVal view As GoView _
) As RectangleF
public static RectangleF ComputeBounds( 
   IGoCollection coll,
   GoView view
)

Parameters

coll
view
May be null.

Return Value

A RectangleF that encloses all of the objects in the collection, which might not include the (0, 0) origin point
Remarks
This method uses GoObject.ExpandPaintBounds to include areas beyond the immediate Bounds, perhaps affected by the view. This ignores non-visible objects, by checking GoObject.CanView. If the view GoView.IsPrinting, this checks GoObject.CanPrint instead.
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
Overload List

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback