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 PointF NearestAnchorPoint (
    PointF point,
    ref int idx
)

Visual Basic  Copy Code

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

 Parameters

point

A PointF that should be aligned to anchor point.

idx

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

 Return Value

A PointF containing anchor point coordinates.

 See Also