---
title: "VisRuleTargetsValue"
url: "https://reference.aspose.com/diagram/nodejs/global/visruletargetsvalue/"
product: "Aspose.Diagram for Node.js via Java API Reference"
description: "Utility class containing constants."
---


## VisRuleTargetsValue

Utility class containing constants. Specifies contents that define the target of the validation rule; passed to and returned by the ValidationRule.TargetType property.

## Values

| Name | Description |
| --- | --- |
| VIS_RULE_TARGET_SHAPE | The rule applies to the document itself. |
| VIS_RULE_TARGET_PAGE | The rule applies to pages in the document. |
| VIS_RULE_TARGET_DOCUMENT | The rule applies to shapes in the document. |
| UNDEFINED | Undefined. |
