GoDiagram Web Reference
LayoutChildren Method (GoBasicNode)

The port is centered in the Shape; the Label is positioned according to LabelSpot relative to the shape.
Syntax
'Declaration
 
Public Overrides Sub LayoutChildren( _
   ByVal childchanged As GoObject _
) 
public override void LayoutChildren( 
   GoObject childchanged
)

Parameters

childchanged
Remarks
When the LabelSpot is GoObject.Middle and AutoResizes is true, we automatically resize the shape to be somewhat larger than the label, and we size the port to be the same size as the shape. If AutoResizes is false, the Label is resized to fit within the Shape's bounds minus the margins. Also the Label's GoText.WrappingWidth is set to the same value as the label's width. When the LabelSpot is not GoObject.Middle, the label is just positioned relative to the Shape according to the LabelSpot. This method does nothing if there is no Shape.
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

GoBasicNode Class
GoBasicNode Members
Base Implementation in LayoutChildren

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback