# OptionalContentDrawingPolicy Enum

> The policy for drawing optional content within the document.

- Product: Adobe PDF Library 21
- Language: Java
- Version: APDFL21.0.0PlusP1f
- HTML page: https://docs.datalogics.com/apdfl21/Java/APDFL21.0.0PlusP1f/enum/OptionalContentDrawingPolicy
- Version index: https://docs.datalogics.com/apdfl21/Java/APDFL21.0.0PlusP1f/llms.txt

**Namespace:** `com::datalogics::PDFL`

## Description

The policy for drawing optional content within the document.

## Values

- `ALL_OPTIONAL_CONTENT`: Draw all optional content, regardless of visibility state.
- `NO_OPTIONAL_CONTENT`: Do not draw any optional content, regardless of visibility state.
- `VISIBLE_OPTIONAL_CONTENT`: Draw optional content that is visible according to the current state of the OptionalContentGroups and OptionalContentMembershipDicts.
