Search
Factory.CreateContainerNode Method (Rect)
See Also
 





Creates a new ContainerNode instance with the specified dimensions and adds it to the Nodes collection of the underlying diagram.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public ContainerNode CreateContainerNode (
    Rect bounds
)

Visual Basic  Copy Code

Public Function CreateContainerNode( _
    bounds As Rect _
) As ContainerNode

 Parameters

bounds

The initial bounding rectangle of the new node.

 Return Value

The newly created ContainerNode instance.

 Remarks

The method creates a container node with the position and size specified by bounds. For further customization of the node, use the properties and methods of the ContainerNode class.

 See Also