Search
Diagram.HitTestComponents Method
See Also
 





Tests whether the specified point is within a component of a diagram item and returns this component.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public ComponentBase HitTestComponents (
    PointF point
)

Visual Basic  Copy Code

Public Function HitTestComponents( _
    point As PointF _
) As ComponentBase

 Parameters

point
A PointF representing the point to test, expressed in document coordinates.

 Return Value

A ComponentBase instance representing the topmost component at the specified point.

 Remarks

This method ignores components with any of the following properties set to false: IsHitTestVisible, IsEnabled, IsInteractive.

 See Also