GoDiagram Web Reference
AddCollection Method (GoLayer)

whether to make sure all connected links belong to the proper subgraph or layer
Re-parent some objects to be top-level objects, even if they are part of groups in this same layer.
Syntax
'Declaration
 
Public Function AddCollection( _
   ByVal coll As IGoCollection, _
   ByVal reparentLinks As Boolean _
) As IGoCollection
public IGoCollection AddCollection( 
   IGoCollection coll,
   bool reparentLinks
)

Parameters

coll
reparentLinks
whether to make sure all connected links belong to the proper subgraph or layer

Return Value

a collection of the objects that were added to this layer
Remarks
This method tries to preserve the links connecting any ports of the objects being added to this layer. Just as with the Add method, you may find that you will want to set the Selectable property to true for each of the objects being added to this layer. The need for this depends on the behavior you want in your application.
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

GoLayer Class
GoLayer Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback