Search
Diagram.GetItemAt Method
See Also
 





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

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public DiagramItem GetItemAt (
    PointF point,
    bool exclLocked
)

Visual Basic  Copy Code

Public Function GetItemAt( _
    point As PointF, _
    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