MindFusion.Wpf Pack Programmer's Guide
Factory.CreateVisioNode Method (Double, Double, Double, Double, VisioContent)
See Also
 





Creates a new VisioNode 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 VisioNode CreateVisioNode (
    double x,
    double y,
    double width,
    double height,
    VisioContent content
)

Visual Basic  Copy Code

Public Function CreateVisioNode( _
    x As Double, _
    y As Double, _
    width As Double, _
    height As Double, _
    content As VisioContent _
) As VisioNode

 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.

content

The content of the new node.

 Return Value

The newly created VisioNode instance.

 Remarks

The method creates a Visio node at the position specified by x and y. The size of the node is set by width and height.

 See Also

CreateVisioNode Method Overload List
Factory Members
Factory Class
MindFusion.Diagramming.Wpf Namespace