Returns the index of the anchor point that lies at the shortest distance from the specified point.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
C# Copy Code |
---|
public int GetClosestAnchorPoint ( |
Visual Basic Copy Code |
---|
Public Function GetClosestAnchorPoint( _ |
A Microsoft.Maui.Graphics.Point specifying a location in the diagram.
true to look for anchor points that allow incoming links; false to look for ones that allow outgoing links.
The index of the found point within the AnchorPattern definition.
MindFusion.Diagramming Developer's Guide | © 2024 MindFusion |