GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoSubGraph Class / ComputeInsideMargins Method
a child object to ignore, in addition to children skipped because ComputeInsideMarginsSkip returned true
In This Topic
    ComputeInsideMargins Method
    In This Topic
    Determine the area occupied by the subgraph's child nodes, excluding any margins.
    Syntax
    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.

    See Also