Search
Diagram.GetItemBounds Method
See Also
 





Retrieves the bounding rectangle of the specified item within the current diagram.

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

 Syntax

C#  Copy Code

public static Rect GetItemBounds (
    UIElement item
)

Visual Basic  Copy Code

Public Shared Function GetItemBounds( _
    item As UIElement _
) As Rect

 Parameters

item
The diagram item whose bounding rectangle should be returned.

 Return Value

A .NET Rect object specifying the item's bounding rectangle.

 See Also