Search
Diagram.GetItemAt Method (Point, Boolean)
See Also
 





Finds and returns the top-most diagram item that lies at the specified location.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public DiagramItem GetItemAt (
    Point point,
    bool exclLocked
)

Visual Basic  Copy Code

Public Function GetItemAt( _
    point As Point, _
    exclLocked As Boolean _
) As DiagramItem

 Parameters

point

Specifies a location in the diagram where to look for items.

exclLocked

Specifies whether to ignore locked items.

 Return Value

The DiagramItem found or null (Nothing in Visual Basic) if no item has been found.

 Remarks

Call the method to get the item at a certain location in the diagram. The method searches starting from the top of z-order and returns the first item found.

 See Also