Search
Factory.CreateTemplatedNode Method (Double, Double, Double, Double)
See Also
 





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

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public TemplatedNode CreateTemplatedNode (
    double x,
    double y,
    double width,
    double height
)

Visual Basic  Copy Code

Public Function CreateTemplatedNode( _
    x As Double, _
    y As Double, _
    width As Double, _
    height As Double _
) As TemplatedNode

 Parameters

x

The x-coordinate of the upper-left corner of the new node.

y

The y-coordinate of the upper-left corner of the new node.

width

The width of the new node.

height

The height of the new node.

 Return Value

The newly created TemplatedNode instance.

 See Also