共用方式為


VisRuleTargets Enumeration

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

Version Information

Version Added: Visio 2010

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.