ValidationRuleSet.RuleSetFlags property (Visio)
Gets or sets special rule-set properties. Read/write.
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 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
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.