Northwoods.GoWeb Assembly > Northwoods.GoWeb Namespace > GoSubGraph Class : ComputeInsideMargins Method |
'Declaration Public Overridable Function ComputeInsideMargins( _ ByVal ignore As GoObject _ ) As RectangleF
public virtual RectangleF ComputeInsideMargins( GoObject ignore )
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.
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