MindFusion.Wpf Pack Programmer's Guide
Diagram.GetNodeAt Method (Point, Double)
See Also
 





Finds and returns the top-most node that lies within the specified threshold from the specified location.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public DiagramNode GetNodeAt (
    Point point,
    double threshold
)

Visual Basic  Copy Code

Public Function GetNodeAt( _
    point As Point, _
    threshold As Double _
) As DiagramNode

 Parameters

point
A Point instance identifying a diagram location.
threshold

Allowed distance from the node.

 Return Value

The DiagramNode found or a null reference (Nothing in Visual Basic) if no node has been found.

 Remarks

This method gives you the possibility to specify search options when looking for a node occupying some location in the diagram document. The method searches starting from the top of z-order and returns the first object found.

 See Also

GetNodeAt Method Overload List
Diagram Members
Diagram Class
MindFusion.Diagramming.Wpf Namespace
GetItemAt Method
GetLinkAt Method