ShapeGeometry::DoHitTestSelection Method (IGeometryHost^, PointD, DiagramHitTestInfo^)

 

Determines whether a point is inside the selection highlight of a shape.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public:
virtual bool DoHitTestSelection(
	IGeometryHost^ geometryHost,
	PointD hitPoint,
	DiagramHitTestInfo^ hitTestInfo
) abstract

Parameters

geometryHost
Type: Microsoft.VisualStudio.Modeling.Diagrams::IGeometryHost^

The shape or link.

hitPoint
Type: Microsoft.VisualStudio.Modeling.Diagrams::PointD

The point to test, relative to the bounds of the shape.

hitTestInfo
Type: Microsoft.VisualStudio.Modeling.Diagrams::DiagramHitTestInfo^

The object that will receive the results of the hit test.

Return Value

Type: System::Boolean

true if the point was inside the selection highlight; otherwise, false.

Return to top
Show: