Diagram.DoHitTest Method

Performs a hit test on the diagram.

Overload List

  Name Description
Public method DoHitTest(PointD, DiagramHitTestInfo) Performs a hit test on the shape. (Inherited from ShapeElement.)
Public method DoHitTest(PointD, DiagramHitTestInfo, Boolean) Performs a hit test on the diagram. (Overrides ShapeElement.DoHitTest(PointD, DiagramHitTestInfo, Boolean).)
Public method DoHitTest(DiagramClientView, PointD, List<ShapeElement>, Boolean) Performs a hit test on the diagram.

Top

Remarks

A hit test verifies whether a point is over a shape on the diagram. Both the diagram and the shapes in it can have hit tests performed upon them.

See Also

Reference

Diagram Class

Diagram Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace