| Package | Description | 
|---|---|
| com.itextpdf.kernel.pdf | 
| Modifier and Type | Method and Description | 
|---|---|
| PdfViewerPreferences | PdfCatalog. getViewerPreferences() | 
| PdfViewerPreferences | PdfViewerPreferences. put(PdfName key, PdfObject value) | 
| PdfViewerPreferences | PdfViewerPreferences. setCenterWindow(boolean centerWindow)
             This method sets CenterWindow flag to true or false 
            | 
| PdfViewerPreferences | PdfViewerPreferences. setDirection(PdfViewerPreferences.PdfViewerPreferencesConstants direction)
             This method sets predominant reading order of text. 
            | 
| PdfViewerPreferences | PdfViewerPreferences. setDisplayDocTitle(boolean displayDocTitle)
             This method sets DisplayDocTitle flag to true or false 
            | 
| PdfViewerPreferences | PdfViewerPreferences. setDuplex(PdfViewerPreferences.PdfViewerPreferencesConstants duplex)
             This method sets the paper handling option that shall be used when printing the file from the print dialog. 
            | 
| PdfViewerPreferences | PdfViewerPreferences. setEnforce(PdfArray enforce)
             PDF 2.0. 
            | 
| PdfViewerPreferences | PdfViewerPreferences. setFitWindow(boolean fitWindow)
             This method sets FitWindow flag to true or false 
            | 
| PdfViewerPreferences | PdfViewerPreferences. setHideMenubar(boolean hideMenubar)
             This method sets HideMenuBar flag to true or false 
            | 
| PdfViewerPreferences | PdfViewerPreferences. setHideToolbar(boolean hideToolbar)
             This method sets HideToolBar flag to true or false 
            | 
| PdfViewerPreferences | PdfViewerPreferences. setHideWindowUI(boolean hideWindowUI)
             This method sets HideWindowUI flag to true or false 
            | 
| PdfViewerPreferences | PdfViewerPreferences. setNonFullScreenPageMode(PdfViewerPreferences.PdfViewerPreferencesConstants nonFullScreenPageMode)
             This method sets NonFullScreenPageMode property. 
            | 
| PdfViewerPreferences | PdfViewerPreferences. setNumCopies(int numCopies)
             This method sets the number of copies that shall be printed when the print dialog is opened for this file. 
            | 
| PdfViewerPreferences | PdfViewerPreferences. setPickTrayByPDFSize(boolean pickTrayByPdfSize)
             This method sets PickTrayByPDFSize flag to true or false. 
            | 
| PdfViewerPreferences | PdfViewerPreferences. setPrintArea(PdfViewerPreferences.PdfViewerPreferencesConstants pageBoundary)
             This method sets the name of the page boundary representing the area of a page that shall be rendered when printing the document. 
            | 
| PdfViewerPreferences | PdfViewerPreferences. setPrintClip(PdfViewerPreferences.PdfViewerPreferencesConstants pageBoundary)
             This method sets the name of the page boundary to which the contents of a page shall be clipped when printing the document. 
            | 
| PdfViewerPreferences | PdfViewerPreferences. setPrintPageRange(int[] printPageRange)
             This method sets the page numbers used to initialize the print dialog box when the file is printed. 
            | 
| PdfViewerPreferences | PdfViewerPreferences. setPrintScaling(PdfViewerPreferences.PdfViewerPreferencesConstants printScaling)
             This method sets the page scaling option that shall be selected when a print dialog is displayed for this document. 
            | 
| PdfViewerPreferences | PdfViewerPreferences. setViewArea(PdfViewerPreferences.PdfViewerPreferencesConstants pageBoundary)
             This method sets the name of the page boundary representing the area of a page that shall be displayed when viewing the document on the screen. 
            | 
| PdfViewerPreferences | PdfViewerPreferences. setViewClip(PdfViewerPreferences.PdfViewerPreferencesConstants pageBoundary)
             This method sets the name of the page boundary to which the contents of a page shall be clipped when viewing the document on the screen. 
            | 
| Modifier and Type | Method and Description | 
|---|---|
| PdfCatalog | PdfCatalog. setViewerPreferences(PdfViewerPreferences preferences)
             This method sets the document viewer preferences, specifying the way the document shall be displayed on the screen 
            | 
Copyright © 1998–2019 iText Group NV. All rights reserved.