Search
Factory.CreateTreeViewNode Method (PointF, SizeF)
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
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public TreeViewNode CreateTreeViewNode (
    PointF location,
    SizeF size
)

Visual Basic  Copy Code

Public Function CreateTreeViewNode( _
    location As PointF, _
    size As SizeF _
) 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