# WatermarkDrawOption Enum

> Specifies how a watermark should be drawn in a PDF document.

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

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

## Description

Specifies how a watermark should be drawn in a PDF document. Controls whether the watermark is rendered as an annotation or as a form XObject within the page content stream. The "Try" variants attempt the specified method but may fall back if it is not possible.

## Values

- `ANNOTATION`: Draw the watermark strictly as an annotation.
- `FORM_XOBJECT`: Draw the watermark strictly as a form XObject in the page content stream.
- `TRY_ANNOTATION`: Try to draw the watermark as an annotation; may fall back to another method.
- `TRY_FORM_XOBJECT`: Try to draw the watermark as a form XObject; may fall back to another method.
