Search
DiagramNode.Bounds Property
See Also
 





Gets or sets the rectangle that defines the position of the diagram node.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public RectangleF Bounds { get; set; }

Visual Basic  Copy Code

Public Property Bounds As RectangleF

 Property Value

An instance of the.NET RectangleF structure.

 Remarks

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.

 See Also