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.