Search
Diagram.GetLinkAt Method (Point, Double, Boolean, Int32@)
See Also
 






Returns the top-most link that lies at the specified position; optionally exclude locked links from the search.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public DiagramLink GetLinkAt (
    Point point,
    double maxDist,
    bool exclLocked,
    ref int segmNum
)

Visual Basic  Copy Code

Public Function GetLinkAt( _
    point As Point, _
    maxDist As Double, _
    exclLocked As Boolean, _
    ByRef segmNum As Integer _
) As DiagramLink

 Parameters

point

A Point specifying a diagram point in logical coordinates.

maxDist

The maximum distance allowed between tested links and the specified point.

exclLocked

Specifies whether locked links should be excluded from the search.

segmNum

Returns the index of the link segment that lies at the specified point.

 Return Value

A DiagramLink object found near the specified point.

 See Also