Version

GetLeader Method

Gets the attachment point on the current rectangle for the leader line to the specified anchor.
Syntax
'Declaration
 
Public Shared Function GetLeader( _
   ByVal rect As Rect, _
   ByVal anchor As Point _
) As Point
public static Point GetLeader( 
   Rect rect,
   Point anchor
)

Parameters

rect
Area to join to the anchor
anchor
Anchor to join to the rectangle

Return Value

Attachment point.
Remarks
If the anchor lies within the current rectangle, the anchor is returned.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also