DiagramLite Programmer's Guide
DiagramLink.GetNearestSegment Method
See Also
 





Gets the index of the links segment closest to the specified point.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming.Silverlight

 Syntax

C#  Copy Code

public int GetNearestSegment (
    Point point
)

Visual Basic  Copy Code

Public Function GetNearestSegment( _
    point As Point _
) As Integer

 Parameters

point

A point specified in diagram coordinates.

 Return Value

Index of the link segment closest to the specified point.

 See Also

DiagramLink Members
DiagramLink Class
MindFusion.Diagramming Namespace