Search
Diagram.GetNodeAt Method (PointF, Single)
See Also
 





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

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public DiagramNode GetNodeAt (
    PointF point,
    float threshold
)

Visual Basic  Copy Code

Public Function GetNodeAt( _
    point As PointF, _
    threshold As Single _
) As DiagramNode

 Parameters

point
A PointF 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