# WebViewportPreset Enum

> Enumeration WebViewportPreset.

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

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

## Values

- `CUSTOM`: Use the explicit width/height from SetCustomViewport.
- `DESKTOP`: Default desktop viewport (1280x1024).
- `MOBILE`: Mobile viewport (e.g.375x812).
- `TABLET`: Tablet viewport (e.g.768x1024).
