Search
ConnectionPoint.NearestAnchorPoint Method
See Also
 





Returns the anchor point closest to the specified point from the node's associated anchor pattern.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

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

Visual Basic  Copy Code

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

 Parameters

point

A Microsoft.Maui.Graphics.Point that should be aligned to anchor point.

idx

An integer variable that receives the anchor point index within AnchorPattern.

 Return Value

A Microsoft.Maui.Graphics.Point containing anchor point coordinates.

 See Also