GoDiagram Win Reference
ComputeInsideMargins Method

a child object to ignore, in addition to children skipped because ComputeInsideMarginsSkip returned true
Determine the area occupied by the subgraph's child nodes, excluding any margins.
Syntax
'Declaration
 
Public Overridable Function ComputeInsideMargins( _
   ByVal ignore As GoObject _
) As RectangleF
public virtual RectangleF ComputeInsideMargins( 
   GoObject ignore
)

Parameters

ignore
a child object to ignore, in addition to children skipped because ComputeInsideMarginsSkip returned true

Return Value

the region that is the inside of the subgraph, excluding the margins and any objects skipped by ComputeInsideMarginsSkip
Remarks

If all child objects are skipped, as when there are no nodes in the subgraph, this will try to provide a reasonable value for the area inside the margins, by using the CollapsedObject if any. Otherwise the return value may well have a Width and Height of zero.

This is called by ComputeBorder with a null argument. LayoutCollapsedObject calls this method passing the CollapsedObject, and LayoutLabel calls this method passing the Label, so that those layout methods can determine the area without the collapsed-object and label, respectively, affecting the calculations.

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

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback