Java PDF Viewer General properties
This section gives information about the General properties tab for the PDF viewer, the function of the different flags and how they can be changed. Please note, we are constantly adding new functionality to the properties file and therefore the documentation contained here is for version 4.3 of JPedal. If a flag is not present in your properties file then the functionality is not available for your version.

The above image shows the General display tab and the available options on this tab.
General Tab Options
DPI Value
This text input allows the user to set the dpi at which the pdf pages will be displayed at.
The properties file flag for this option is <DPI value="110" />.
The value of the DPI flag is the integer value the user wish to use as the DPI.
Use TrueType font hinting methods
This check box allows the user to turn on/off the TrueType hinting functionality of the viewer. These functions are covered by patents in some countries and may require a licence from Apple.
The properties file flag for this option is <useHinting value="false" />.
The two values for this option are
- box selected
Turns on the hinting functionality.
Properties file value = true - box unselected
Turns off the hinting functionality.
Properties file value = false
Auto Scroll
This check box allows the user turn on/off the functionality of the PDF viewer to scroll the PDF view when the mouse reachs the edge of the PDF viewable area.
The properties file flag for this option is <autoScroll value="true" />.
The two values for this option are
- box selected
Turns on the auto scroll functionality.
Properties file value = true - box unselected
Turns off the auto scroll functionality.
Properties file value = false
Confirm close
This check box allows the user turn on/off the confirmation dialog displayed when exiting the viewer.
The properties file flag for this option is <confirmClose value="false" />.
The two values for this option are
- box selected
Turns on the confirmation dialog.
Properties file value = true - box unselected
Turns off the confirmation dialog.
Properties file value = false
Check for Updates at startup
This check box allows the user to turn on/off the functionality of the viewer to check for updates when the application starts up.
The properties file flag for this option is <automaticupdate value="true" />.
The two values for this option are
- box selected
Turns on the automatic update functionality.
Properties file value = true - box unselected
Turns off the automatic update functionality.
Properties file value = false
Open previous PDF document at app start
This check box allows the user turn on/off the functionality of the PDF viewer to open the last viewed page of the last viewed PDF document. This will only work if the user does not specify a file to open at the command line.
The properties file flags for this option is <openLastDocument value="true" /> to turn on the functionality and <lastDocumentPage value="34" /> to specify the PDF page to open at.
The two values for this option are
- box selected
Turns on the open last document functionality.
Properties file value = true - box unselected
Turns off the open last document functionality.
Properties file value = false
The lastDocumentPage flag in the properties file is updated when the application is closed. It is not set by any functionality in the preference window.
Clear Recently Opened Documents List
This button clears the list of recently opened documents stored in the properties file.
The properties file flag used in this option is <recentFiles> which contains multiple children storing the file names of previously opened files such as <file name="E:\PDFData\example.pdf">.
Return to main PDF support section
Click here for the main PDF support area with lots of java examples, PDF tutorials and useful information to get the most out of the JPedal PDF library




