VisHitTestResults Enumeration (Visio)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Result values returned by the Shape.HitTest method.

Constant

Value

Descriptioin

visHitInside

2

Hit position is inside shape boundary.

visHitOnBoundary

1

Hit position is on shape boundary

visHitOutside

0

Hit position is outside shape boundary

Show: