Creates a new ShapeNode instance at the specified position with the specified size and shape, and adds it to the Nodes collection of the underlying diagram.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
C#
![]() |
---|
public ShapeNode CreateShapeNode ( |
Visual Basic
![]() |
---|
Public Function CreateShapeNode( _ |
The x-coordinate of the upper-left corner of the new node.
The y-coordinate of the upper-left corner of the new node.
The width of the new node.
The height of the new node.
The shape of the new node.
The newly created ShapeNode instance.
The method creates a shape node at the position specified by x and y. The size of the node is set by width and height. The shape of the new node is specified by shape.
MindFusion.Diagramming for WinUI Programmer's Guide | © 2024 MindFusion |