VisRuleTargets enumeration (Visio)

Specifies contants that define the target of the validation rule; passed to and returned by the ValidationRule.TargetType property.

Name Value Description
visRuleTargetDocument 2 The rule applies to the document itself.
visRuleTargetPage 1 The rule applies to pages in the document.
visRuleTargetShape 0 The rule applies to shapes in the document.

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.