# cefPrintOrientation
{: .no_toc }

Page orientation passed to [**PrintToPdf**](/tB/Packages/CEF/CefBrowser/index.md#printtopdf) when writing the current document to a PDF file.

| Constant | Value | Description |
|----------|-------|-------------|
| **cefPrintPortrait**{: #cefPrintPortrait } | 0 | Default --- pages are laid out with the long side vertical. |
| **cefPrintLandscape**{: #cefPrintLandscape } | 1 | Pages are laid out with the long side horizontal. |
