ASP.NET Pack Programmer's Guide
Diagram.GetNodeAt Method (PointF, Boolean, Boolean)
See Also
 





Finds and returns the top-most node that lies at the specified location, optionally excluding locked and/or selected nodes from the search.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public DiagramNode GetNodeAt (
    PointF point,
    bool excludeLocked,
    bool excludeSelected
)

Visual Basic  Copy Code

Public Function GetNodeAt( _
    point As PointF, _
    excludeLocked As Boolean, _
    excludeSelected As Boolean _
) As DiagramNode

 Parameters

point
A PointF instance identifying a diagram location.
excludeLocked
true if nodes that are locked should be omitted by searching; otherwise, false.
excludeSelected
true if nodes that are selected should be omitted by searching; otherwise, false.

 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 Namespace
GetItemAt Method
GetLinkAt Method
GetNearestNode Method