ASP.NET Pack Programmer's Guide
DiagramNode.GetClosestAnchorPoint Method
See Also
 





Returns the index of the anchor point that lies at the shortest distance from the specified point.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public int GetClosestAnchorPoint (
    PointF point,
    bool incoming
)

Visual Basic  Copy Code

Public Function GetClosestAnchorPoint( _
    point As PointF, _
    incoming As Boolean _
) As Integer

 Parameters

point

A PointF object specifying a location in the diagram.

incoming

true to look for anchor points that allow incoming links; false to look for ones that allow outgoing links.

 Return Value

The index of the found point within the AnchorPattern definition.

 See Also

DiagramNode Members
DiagramNode Class
MindFusion.Diagramming Namespace