ASP.NET Pack Programmer's Guide
Factory.CreateContainerNode Method (PointF, SizeF)
See Also
 





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

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public ContainerNode CreateContainerNode (
    PointF location,
    SizeF size
)

Visual Basic  Copy Code

Public Function CreateContainerNode( _
    location As PointF, _
    size As SizeF _
) As ContainerNode

 Parameters

location
The location of the ContainerNode object.
size
The size of the ContainerNode object.

 Return Value

The newly created ContainerNode instance.

 Remarks

The method creates a container node at the position specified by location. The size of the container is set by size. For further customization of the node, use the properties and methods of the ContainerNode class.

 See Also

CreateContainerNode Method Overload List
Factory Members
Factory Class
MindFusion.Diagramming Namespace
CreateDiagramLink Method
CreateTableNode Method
Diagram.Nodes Property
Diagram.AlignPointToGrid Method