# PageMode Enum

> An enumerated data type used to describe the page view mode of a 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/PageMode
- Version index: https://docs.datalogics.com/apdfl21/ModernCPP/21.4.0/llms.txt

**Namespace:** `datalogics_interface`

## Description

An enumerated data type used to describe the page view mode of a Document.

## Values

- `NoPreference = 0`: Leave the PageMode as is (default for a new Document).
- `DocumentOnly = 1`: Display the Document without bookmarks or thumbnails (encoded as `/UseNone`).
- `Thumbnails = 2`: Display the Document with the Thumbnails panel open.
- `Bookmarks = 3`: Display the Document with the Bookmarks panel open (encoded as `/UseOutlines`).
- `Fullscreen = 4`: Display the Document in full-screen mode.
- `OptionalContent = 6`: Display the Document with the Layers panel open.
- `Attachments = 7`: Display the Document with its attachments.
