Search
Factory.CreateContainerNode Method (RectangleF)
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
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public ContainerNode CreateContainerNode (
    RectangleF bounds
)

Visual Basic  Copy Code

Public Function CreateContainerNode( _
    bounds As RectangleF _
) 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