Search
Factory.CreateTreeViewNode Method (Point, Size)
See Also
 






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

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public TreeViewNode CreateTreeViewNode (
    Point location,
    Size size
)

Visual Basic  Copy Code

Public Function CreateTreeViewNode( _
    location As Point, _
    size As Size _
) As TreeViewNode

 Parameters

location

The position of the new node.

size

The size of the new node.

 Return Value

The newly created TreeViewNode instance.

 Remarks

The method creates a treeview node at the position specified by location. The size of the node is set by size.

 See Also