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

 

Returns a value indicating whether the given point is within the boundary of the geometry's surrounding selection feedback. The hit test results are also returned.

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
) override

Parameters

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

The instance data for the geometry.

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

The point to test. The point is in world units and is relative to the top-left of the IGeometryHost's parent.

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

The object which will be updated with the hit test results. This argument may be null in which case it is ignored.

Return Value

Type: System::Boolean
Return to top
Show: