Uses of Class
com.itextpdf.kernel.pdf.PdfViewerPreferences
-
Uses of PdfViewerPreferences in com.itextpdf.kernel.pdf
Modifier and TypeMethodDescriptionPdfCatalog.getViewerPreferences()
Get viewer preferences of the document.PdfViewerPreferences.setCenterWindow
(boolean centerWindow) This method sets CenterWindow flag to true or falsePdfViewerPreferences.setDirection
(PdfViewerPreferences.PdfViewerPreferencesConstants direction) This method sets predominant reading order of text.PdfViewerPreferences.setDisplayDocTitle
(boolean displayDocTitle) This method sets DisplayDocTitle flag to true or falsePdfViewerPreferences.setDuplex
(PdfViewerPreferences.PdfViewerPreferencesConstants duplex) This method sets the paper handling option that shall be used when printing the file from the print dialog.PdfViewerPreferences.setEnforce
(PdfArray enforce) PDF 2.0.PdfViewerPreferences.setFitWindow
(boolean fitWindow) This method sets FitWindow flag to true or falsePdfViewerPreferences.setHideMenubar
(boolean hideMenubar) This method sets HideMenuBar flag to true or falsePdfViewerPreferences.setHideToolbar
(boolean hideToolbar) This method sets HideToolBar flag to true or falsePdfViewerPreferences.setHideWindowUI
(boolean hideWindowUI) This method sets HideWindowUI flag to true or falsePdfViewerPreferences.setNonFullScreenPageMode
(PdfViewerPreferences.PdfViewerPreferencesConstants nonFullScreenPageMode) This method sets NonFullScreenPageMode property.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.setPickTrayByPDFSize
(boolean pickTrayByPdfSize) This method sets PickTrayByPDFSize flag to true or false.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.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.setPrintPageRange
(int[] printPageRange) This method sets the page numbers used to initialize the print dialog box when the file is printed.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.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.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 TypeMethodDescriptionPdfCatalog.setViewerPreferences
(PdfViewerPreferences preferences) This method sets the document viewer preferences, specifying the way the document shall be displayed on the screen