# VisibilityPolicy Enum

> Determines how content visibility is resolved when an OptionalContentMembershipDict references multiple OptionalContentGroups with conflicting on/off states.

- Product: Adobe PDF Library 21
- Language: Modern C++
- Version: 21.4.0
- HTML page: https://docs.datalogics.com/apdfl21/ModernCPP/21.4.0/enum/VisibilityPolicy
- Version index: https://docs.datalogics.com/apdfl21/ModernCPP/21.4.0/llms.txt

**Namespace:** `datalogics_interface`

## Description

Determines how content visibility is resolved when an OptionalContentMembershipDict references multiple OptionalContentGroups with conflicting on/off states.

## Values

- `AllOn = 0`: Display if all OptionalContentGroups in this OptionalContentMembershipDict are ON
- `AnyOn = 1`: Display if at least one OptionalContentGroup in this OptionalContentMembershipDict is ON
- `AnyOff = 2`: Display if at least one OptionalContentGroup in this OptionalContentMembershipDict is OFF
- `AllOff = 3`: Display if all OptionalContentGroups in this OptionalContentMembershipDict are OFF
