Creates a new ShapeNode instance with the specified dimensions and shape, and adds it to the Nodes collection of the underlying diagram.
Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming
C# Copy Code |
---|
public ShapeNode CreateShapeNode ( |
Visual Basic Copy Code |
---|
Public Function CreateShapeNode( _ |
The bounding rectangle of the new node.
The shape of the new node.
The newly created ShapeNode instance.
The method creates a shape node with dimensions specified by bounds. The shape of the new node is specified by shape. For further customization of the node, use the properties and methods of the ShapeNode class.