Search
Factory.CreateShapeNode Method (RectangleF)
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
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public ShapeNode CreateShapeNode (
    RectangleF bounds
)

Visual Basic  Copy Code

Public Function CreateShapeNode( _
    bounds As RectangleF _
) 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