Search
Diagram.GetItemAt Method (Point, Boolean, 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 excludeLocked,
    bool onlyHitTestVisible
)

Visual Basic  Copy Code

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

 Parameters

point

A Point instance identifying a diagram location.

excludeLocked

Specifies whether to ignore locked items.

onlyHitTestVisible

Specifies whether to include only items whose HitTestVisible property is enabled.

 Return Value

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

 See Also