Search
DiagramLink.GetBounds Method (Boolean)
See Also
 





Gets the bounding rectangle of this link.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public Rect GetBounds (
    bool withStrokeThickness
)

Visual Basic  Copy Code

Public Function GetBounds( _
    withStrokeThickness As Boolean _
) As Rect

 Parameters

withStrokeThickness

true to consider link's pen width when calculating the bounding rectangle, or false otherwise.

 Return Value

A Microsoft.Maui.Graphics.Rect instance containing the coordinates of link's bounding rectangle.

 See Also