0 out of 8 rated this helpful - Rate this topic

ValidationRuleSet.RuleSetFlags Property (Visio)

Office 2010

Gets or sets special rule-set properties. Read/write.

Version Information

Version Added: Visio 2010

Syntax

expression.RuleSetFlags

expression A variable that represents a ValidationRuleSet object.

Return Value

Remarks

The RuleSetFlags property value must be one of the following VisRuleSetFlags constants.

Constant Value Description

visRuleSetDefault

0

The default set of rule-set properties. The rule set appears in the the Rules to Check list (click the Check Diagram arrow on the Process tab).

visRuleSetHidden

1

The rule set does not appear in the Rules to Check list.

Example

The following Visual Basic for Applications (VBA) example shows how to use the RuleSetFlags property to set the properties for a validation rule set named "Connectivity" in the active document.

Set vsoDocument = Visio.ActiveDocument
Set vsoValidationRuleSet = vsoDocument.Validation.RuleSets.Add("Connectivity")
vsoValidationRuleSet.RuleSetFlags = Visio.VisRuleSetFlags.visRuleSetDefault
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ