MindFusion.Wpf Pack Programmer's Guide
Factory.CreateShapeNode Method (Rect)
See Also
 





Creates a new ShapeNode instance with the specified dimensions and adds it to the Nodes collection of the underlying diagram.

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

 Syntax

C#  Copy Code

public ShapeNode CreateShapeNode (
    Rect bounds
)

Visual Basic  Copy Code

Public Function CreateShapeNode( _
    bounds As Rect _
) As ShapeNode

 Parameters

bounds

The bounding rectangle of the new node.

 Return Value

The newly created ShapeNode instance.

 Remarks

The method creates a shape node with dimensions specified by bounds. For further customization of the node, use the properties and methods of the ShapeNode class.

 See Also

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