Search
DiagramItem.GetBounds Method
See Also
 





Gets the bounding rectangle of this item.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public virtual Rect GetBounds ()

Visual Basic  Copy Code

Public Overridable Function GetBounds () As Rect

 Return Value

The rectangle that bounds this item.

 Remarks

The Bounds property getter returns the result of this method. WpfDiagram 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