ShapeField.DoHitTest Method

Performs a hit test on a specified point in the diagram to determine whether the point is in the bounds of the shape field.

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

Syntax

'宣言
Public Overridable Sub DoHitTest ( _
    point As PointD, _
    parentShape As ShapeElement, _
    diagramHitTestInfo As DiagramHitTestInfo _
)
'使用
Dim instance As ShapeField
Dim point As PointD
Dim parentShape As ShapeElement
Dim diagramHitTestInfo As DiagramHitTestInfo

instance.DoHitTest(point, parentShape, _
    diagramHitTestInfo)
public virtual void DoHitTest(
    PointD point,
    ShapeElement parentShape,
    DiagramHitTestInfo diagramHitTestInfo
)
public:
virtual void DoHitTest(
    PointD point, 
    ShapeElement^ parentShape, 
    DiagramHitTestInfo^ diagramHitTestInfo
)
public function DoHitTest(
    point : PointD, 
    parentShape : ShapeElement, 
    diagramHitTestInfo : DiagramHitTestInfo
)

Parameters

Permissions

See Also

Reference

ShapeField Class

ShapeField Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace