Search
DiagramLink.GetBounds Method (Boolean)
See Also
 





Gets the bounding rectangle of this link.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public RectangleF GetBounds (
    bool withStrokeThickness
)

Visual Basic  Copy Code

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

 Parameters

withStrokeThickness

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

 Return Value

A RectangleF instance containing the coordinates of link's bounding rectangle.

 See Also