VisHitTestResults enumeration (Visio)

Result values returned by the Shape.HitTest method.


Constant Value Description
visHitInside 2 Hit position is inside shape boundary.
visHitOnBoundary 1 Hit position is on shape boundary.
visHitOutside 0 Hit position is outside shape boundary.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.