Search
DiagramItem.GetBounds Method
See Also
 





Gets the bounding rectangle of this item.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public virtual RectangleF GetBounds ()

Visual Basic  Copy Code

Public Overridable Function GetBounds () As RectangleF

 Return Value

The rectangle that bounds this item.

 Remarks

The Bounds property getter returns the result of this method. NetDiagram treats the returned value as the logical coordinates of the item and uses it in many situations when comparing items geometrically, when looking for items intersections, and so on.

 See Also