## ViewerPreference class

Describes viewer prefereces (page mode, non full screen page mode, page layout).

```csharp
public sealed class ViewerPreference
```

## Constructors

| Name | Description |
| --- | --- |
| [ViewerPreference](viewerpreference/)() | The default constructor. |

## Fields

| Name | Description |
| --- | --- |
| const [CenterWindow](../../aspose.pdf.facades/viewerpreference/centerwindow/) | A flag specifying whether to position the document's window in the center of the screen. |
| const [DirectionL2R](../../aspose.pdf.facades/viewerpreference/directionl2r/) | Text reading order left to right. |
| const [DirectionR2L](../../aspose.pdf.facades/viewerpreference/directionr2l/) | Text reading order right to left. |
| const [DisplayDocTitle](../../aspose.pdf.facades/viewerpreference/displaydoctitle/) | A flag specifying whether the window's title bar should display the document title |
| const [DuplexFlipLongEdge](../../aspose.pdf.facades/viewerpreference/duplexfliplongedge/) | Duplex and flip on the short edge of the sheet. |
| const [DuplexFlipShortEdge](../../aspose.pdf.facades/viewerpreference/duplexflipshortedge/) | Duplex and flip on the short edge of the sheet. |
| const [FitWindow](../../aspose.pdf.facades/viewerpreference/fitwindow/) | A flag specifying whether to resize the document's window to fit the size of the first displayed page. |
| const [HideMenubar](../../aspose.pdf.facades/viewerpreference/hidemenubar/) | A flag specifying whether to hide the conforming reader's menu bar when the document is active. |
| const [HideToolbar](../../aspose.pdf.facades/viewerpreference/hidetoolbar/) | A flag specifying whether to hide the conforming reader's tool bars when the document is active. |
| const [HideWindowUI](../../aspose.pdf.facades/viewerpreference/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. |
| const [NonFullScreenPageModeUseNone](../../aspose.pdf.facades/viewerpreference/nonfullscreenpagemodeusenone/) | Neither document outline nor thumbnail images visible. |
| const [NonFullScreenPageModeUseOC](../../aspose.pdf.facades/viewerpreference/nonfullscreenpagemodeuseoc/) | Optional content group panel visible. |
| const [NonFullScreenPageModeUseOutlines](../../aspose.pdf.facades/viewerpreference/nonfullscreenpagemodeuseoutlines/) | Document outline visible. |
| const [NonFullScreenPageModeUseThumbs](../../aspose.pdf.facades/viewerpreference/nonfullscreenpagemodeusethumbs/) | Thumbnail images visible |
| const [PageLayoutOneColumn](../../aspose.pdf.facades/viewerpreference/pagelayoutonecolumn/) | Display the pages in one column. |
| const [PageLayoutSinglePage](../../aspose.pdf.facades/viewerpreference/pagelayoutsinglepage/) | Display one page at a time. |
| const [PageLayoutTwoColumnLeft](../../aspose.pdf.facades/viewerpreference/pagelayouttwocolumnleft/) | Display the pages in two columns, with odd-numbered pages on the right |
| const [PageLayoutTwoColumnRight](../../aspose.pdf.facades/viewerpreference/pagelayouttwocolumnright/) | Display the pages in two columns, with odd-numbered pages on the right. |
| const [PageModeFullScreen](../../aspose.pdf.facades/viewerpreference/pagemodefullscreen/) | Full-screen mode, with no menu bar, window controls, or any other window visible. |
| const [PageModeUseAttachment](../../aspose.pdf.facades/viewerpreference/pagemodeuseattachment/) | Page mode with attacments. |
| const [PageModeUseNone](../../aspose.pdf.facades/viewerpreference/pagemodeusenone/) | Neither document outline nor thumbnail images visible |
| const [PageModeUseOC](../../aspose.pdf.facades/viewerpreference/pagemodeuseoc/) | Optional content group panel visible. |
| const [PageModeUseOutlines](../../aspose.pdf.facades/viewerpreference/pagemodeuseoutlines/) | Document outline visible. |
| const [PageModeUseThumbs](../../aspose.pdf.facades/viewerpreference/pagemodeusethumbs/) | Thumbnail images visible. |
| const [PickTrayByPDFSize](../../aspose.pdf.facades/viewerpreference/picktraybypdfsize/) | Use the PDF page size to select the input paper tray. |
| const [PrintScalingAppDefault](../../aspose.pdf.facades/viewerpreference/printscalingappdefault/) | The conforming reader's default print scaling. |
| const [PrintScalingNone](../../aspose.pdf.facades/viewerpreference/printscalingnone/) | No page scaling. |
| const [Simplex](../../aspose.pdf.facades/viewerpreference/simplex/) | Print single-sided. |

### See Also

* namespace [Aspose.Pdf.Facades](../../aspose.pdf.facades/)
* assembly [Aspose.PDF](../../)


