Creates a new MapNode instance at the specified position with the specified size and adds it to the Nodes collection of the underlying diagram.
Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming
C# Copy Code |
---|
public MapNode CreateMapNode ( |
Visual Basic Copy Code |
---|
Public Function CreateMapNode( _ |
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 content of the new node.
The newly created MapNode instance.
The method creates a MapNode at the position specified by x and y. The size of the node is set by width and height.
NetDiagram Programmer's Guide | © 2023 MindFusion |