# WatermarkDrawOption Enum

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

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

**Namespace:** `datalogics_interface`

## 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

- `TryAnnotation = 0`: Try annotation; may fall back to form XObject.
- `TryFormXObject = 1`: Try form XObject; may fall back to annotation.
- `Annotation = 2`: Strictly annotation.
- `FormXObject = 3`: Strictly form XObject.
