GoDiagram Win Reference
ComputeBusLastRowSpacing Method

the length of the central line (spine) separating the two sides, so far, excluding the initial GoLayoutTreeNode.NodeSpacing that extends from the parent's spine
Get the amount of space to leave between the sibling child vertexes and this last odd vertex when the parent's GoLayoutTreeNode.Alignment is Bus or BusBranching.
Syntax
'Declaration
 
Protected Overridable Function ComputeBusLastRowSpacing( _
   ByVal lastchild As GoLayoutTreeNode, _
   ByVal dist As Single _
) As Single
protected virtual float ComputeBusLastRowSpacing( 
   GoLayoutTreeNode lastchild,
   float dist
)

Parameters

lastchild
dist
the length of the central line (spine) separating the two sides, so far, excluding the initial GoLayoutTreeNode.NodeSpacing that extends from the parent's spine

Return Value

By default this returns the parent's GoLayoutTreeNode.RowSpacing; a negative value may cause node overlaps
Remarks
This function is called only when there is an odd number of child vertexes and at least 3. This function is not called when the parent vertex only has one child. In that case there is no spine separating two columns of child vertexes.
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

GoLayoutTree Class
GoLayoutTree Members
ComputeBusNodeSpacing Method

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback