Finds and returns the top-most link that lies at the specified location.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
C# Copy Code |
---|
public DiagramLink GetLinkAt ( |
Visual Basic Copy Code |
---|
Public Function GetLinkAt( _ |
A Point instance identifying a diagram location.
The maximal distance between the point and a link, within which to consider the point as lying on the link.
The DiagramLink found or a null reference (Nothing in Visual Basic) if no item has been found.
Call the method to get the link at a certain place in the document. The method searches starting from the top of z-order and returns the first link found. The specified point might not be laying exactly on the link, but within a certain threshold distance from it. This threshold is specified through the second parameter.
WpfDiagram Programmer's Guide | © 2024 MindFusion |