Please choose a menu option
Visit the IDRsolutions WebSite

Show Properties of a PDF file

Description Display PDF file properties
Jar Path org.jpedal.examples.ShowDocumentProperties

Click for source code link

How to run the code

Windows: java -cp %jpedalDir%/jpedal.jar org/jpedal/examples/ShowDocumentProperties inputValue
MacOS X Linux: java -cp $jpedalDir/jpedal.jar org/jpedal/examples/ShowDocumentProperties inputValue

Click here for help on running Java programs from the command line

 

An explanation of the input value

This example expects one input value.

Input value: The filename (including the path if needed) of the PDF file to open and count. If it contains spaces it must be enclosed by double quotes (ie "C:/Path with spaces/").

 

Other details/screenshot

PDF Metadata can be a set of values or an XML stream - both will be displayed if present.

 

Links to related articles

Getting started tutorial
SimpleViewer includes a menu option to show document properties.
Additional optional libraries lists items which may be needed for some PDF files or functionality.

 

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

 


PDF viewer