PDF4Java Reference Documentation
com.o2sol.pdf4java.document Package / PDFViewerPreferences Class
Methods Collapse All Expand All Members Options: Show All Members Options: Filtered
Include Inherited Members
Include Protected Members
In This Topic

PDFViewerPreferences Class Members
In This Topic

The following tables list the members exposed by PDFViewerPreferences.

Public Constructors

| Name | Description
--- | --- | ---
| PDFViewerPreferences Constructor | Overloaded.

Top
Public Methods

| Name | Description
--- | --- | ---
| getCenterWindow | Gets a value indicating whether to position the document's window in the center of the screen.
| getCosViewerPreferences | Gets the COS dictionary asssociated with this Object.
| getDuplexPrinting | Gets the recommended duplex printing mode.
| getFitWindow | Gets a value indicating whether to resize the document's window to fit the size of the first displayed page.
| getNonFullScreenPageMode | Gets the document's page mode.
| getNumberOfCopies | Gets number of copies that shall be printed.
| getPickTrayByPDFSize | Gets a value indicating whether the PDF page size shall be used to select the input paper tray. This setting influences only the preset values used to populate the print dialogue presented by an interactive PDF processor.
| getPrintPageRange | Gets the print page range.
| getPrintScaling | Gets how the print scaling.
| isDocumentTitleDisplayed | Gets a value indicating whether the window's title bar should display the document title taken from the PDFDocumentInformation.getTitle.
| isHiddenMenubar | Gets a value indicating whether to hide the viewer application's menu bar when the document is active.
| isHiddenToolbar | Gets a value indicating whether to hide the viewer application's toolbars when the document is active.
| isHiddenWindowUI | Gets a value indicating whether to hide user interface elements.
| setCenterWindow | Sets a value indicating whether to position the document's window in the center of the screen.
| setDocumentTitleDisplayed | Sets a value indicating whether the window's title bar should display the document title taken from the PDFDocumentInformation.getTitle.
| setDuplexPrinting | Set the recommended duplex printing mode.
| setFitWindow | Sets a value indicating whether to resize the document's window to fit the size of the first displayed page.
| setHiddenMenubar | Sets a value indicating whether to hide the viewer application's menu bar when the document is active.
| setHiddenToolbar | Sets a value indicating whether to hide the viewer application's toolbars when the document is active.
| setHiddenWindowUI | Sets a value indicating whether to hide user interface elements.
| setNonFullScreenPageMode | Sets the document's page mode.
| setNumberOfCopies | Sets number of copies that shall be printed.
| setPickTrayByPDFSize | Sets a value indicating whether the PDF page size shall be used to select the input paper tray. This setting influences only the preset values used to populate the print dialogue presented by an interactive PDF processor.
| setPrintPageRange | Sets the print page range. The array shall contain an even number of integers to be interpreted in pairs, with each pair specifying the first and last pages in a sub-range of pages to be printed.The first page of the PDF file shall be denoted by 1.
| setPrintScaling | Sets how the print scaling.

Top
See Also

#### Reference

PDFViewerPreferences Class
com.o2sol.pdf4java.document Package

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.