Finds and returns the top-most link that lies at the specified location, optionally excluding locked links from the search. The zero-based index of the exact link segment at the specified position is also returned.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
SyntaxC#
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.
Specifies that locked links should be ignored by the search.
The zero-based index of the link's segment at which the point is lying is returned here.
The DiagramLink found or a null reference (Nothing in Visual Basic) if no item has been found.
RemarksCall 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.
See Also