GoDiagram Web Reference
ComputeInsideMarginsSkip Method

This method is called by ComputeInsideMargins to see if a given child of this group should be ignored.
Syntax
'Declaration
 
Protected Overridable Function ComputeInsideMarginsSkip( _
   ByVal child As GoObject _
) As Boolean
protected virtual bool ComputeInsideMarginsSkip( 
   GoObject child
)

Parameters

child

Return Value

true for special objects whose position depends on the bounds of all the other children or for those objects that should not affect the size of the subgraph.
Remarks

Child objects such as the Handle, Port, an invisible Label or CollapsedObject and invisible links or internal links connected to this subgraph's Port should not be included in the computation of the ComputeInsideMargins method, because they may be outside of the inside area where the child nodes are. Any override of this method to return true for additional objects may also override one of the Layout... methods to make sure those objects are positioned in the desired manner.

Originally this method was called from ComputeBounds, but we no longer tie the Bounds with the bordered area. The latter is now governed by ComputeBorder, which calls ComputeInsideMargins, which calls this method to decide which objects are really part of the subgraph and thus should be inside the border.

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

GoSubGraph Class
GoSubGraph Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback