Search
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
Assembly: MindFusion.Diagramming

 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.

 See Also