Gets or sets the rectangle that defines the position of the diagram node.
Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming
C# Copy Code |
---|
public RectangleF Bounds { get; set; } |
Visual Basic Copy Code |
---|
Public Property Bounds As RectangleF |
An instance of the.NET RectangleF structure.
Use this property to set or get the size and/or location of a node. Moving a node also updates the control points coordinates of all links connected to the node. If there are subordinate items attached to it, they are moved too by the translation vector defined by the Bounds change. To change the bounding rectangle of a node without affecting related items, call the SetBounds method.
NetDiagram Programmer's Guide | © 2023 MindFusion |