Search
ConnectionPoint.NearestAnchorPoint Method
See Also
 





Returns the nearest anchor point pertinent to this connection.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

protected virtual Point NearestAnchorPoint (
    Point point,
    ref int idx
)

Visual Basic  Copy Code

Protected Overridable Function NearestAnchorPoint( _
    point As Point, _
    ByRef idx As Integer _
) As Point

 Parameters

point

A Point instance specifying the current mouse position.

idx

Receives the anchor point index within its AnchorPattern.

 Return Value

Position of the anchor point nearest to the specified point.

 See Also