---
title: "Aspose::Pdf::Facades::ViewerPreference class"
url: "https://reference.aspose.com/pdf/cpp/aspose.pdf.facades/viewerpreference/"
product: "Aspose.PDF for C++ API Reference"
description: "Aspose::Pdf::Facades::ViewerPreference class. Describes viewer prefereces (page mode, non full screen page mode, page layout) in C++."
---

## ViewerPreference class


Describes viewer prefereces (page mode, non full screen page mode, page layout).

```cpp
class ViewerPreference : public System::Object
```

## Fields

| Field | Description |
| --- | --- |
| static constexpr [CenterWindow](./centerwindow/) | A flag specifying whether to position the document's window in the center of the screen. |
| static constexpr [DirectionL2R](./directionl2r/) | [Text](../../aspose.pdf.text/) reading order left to right. |
| static constexpr [DirectionR2L](./directionr2l/) | [Text](../../aspose.pdf.text/) reading order right to left. |
| static constexpr [DisplayDocTitle](./displaydoctitle/) | A flag specifying whether the window's title bar should display the document title. |
| static constexpr [DuplexFlipLongEdge](./duplexfliplongedge/) | Duplex and flip on the short edge of the sheet. |
| static constexpr [DuplexFlipShortEdge](./duplexflipshortedge/) | Duplex and flip on the short edge of the sheet. |
| static constexpr [FitWindow](./fitwindow/) | A flag specifying whether to resize the document's window to fit the size of the first displayed page. |
| static constexpr [HideMenubar](./hidemenubar/) | A flag specifying whether to hide the conforming reader's menu bar when the document is active. |
| static constexpr [HideToolbar](./hidetoolbar/) | A flag specifying whether to hide the conforming reader's tool bars when the document is active. |
| static constexpr [HideWindowUI](./hidewindowui/) | A flag specifying whether to hide user interface elements in the document's window (such as scroll bars and navigation controls), leaving only the document's contents displayed. |
| static constexpr [NonFullScreenPageModeUseNone](./nonfullscreenpagemodeusenone/) | Neither document outline nor thumbnail images visible. |
| static constexpr [NonFullScreenPageModeUseOC](./nonfullscreenpagemodeuseoc/) | Optional content group panel visible. |
| static constexpr [NonFullScreenPageModeUseOutlines](./nonfullscreenpagemodeuseoutlines/) | [Document](../../aspose.pdf/document/) outline visible. |
| static constexpr [NonFullScreenPageModeUseThumbs](./nonfullscreenpagemodeusethumbs/) | Thumbnail images visible. |
| static constexpr [PageLayoutOneColumn](./pagelayoutonecolumn/) | Display the pages in one column. |
| static constexpr [PageLayoutSinglePage](./pagelayoutsinglepage/) | Display one page at a time. |
| static constexpr [PageLayoutTwoColumnLeft](./pagelayouttwocolumnleft/) | Display the pages in two columns, with odd-numbered pages on the right. |
| static constexpr [PageLayoutTwoColumnRight](./pagelayouttwocolumnright/) | Display the pages in two columns, with odd-numbered pages on the right. |
| static constexpr [PageModeFullScreen](./pagemodefullscreen/) | Full-screen mode, with no menu bar, window controls, or any other window visible. |
| static constexpr [PageModeUseAttachment](./pagemodeuseattachment/) | [Page](../../aspose.pdf/page/) mode with attacments. |
| static constexpr [PageModeUseNone](./pagemodeusenone/) | Neither document outline nor thumbnail images visible. |
| static constexpr [PageModeUseOC](./pagemodeuseoc/) | Optional content group panel visible. |
| static constexpr [PageModeUseOutlines](./pagemodeuseoutlines/) | [Document](../../aspose.pdf/document/) outline visible. |
| static constexpr [PageModeUseThumbs](./pagemodeusethumbs/) | Thumbnail images visible. |
| static constexpr [PickTrayByPDFSize](./picktraybypdfsize/) | Use the PDF page size to select the input paper tray. |
| static constexpr [PrintScalingAppDefault](./printscalingappdefault/) | The conforming reader's default print scaling. |
| static constexpr [PrintScalingNone](./printscalingnone/) | No page scaling. |
| static constexpr [Simplex](./simplex/) | Print single-sided. |
## See Also

* Class [Object](../../system/object/)
* Namespace [Aspose::Pdf::Facades](../)
* Library [Aspose.PDF for C++](../../)
