Never mind, I found out how to do it:

        PDFParser parser = new PDFParser(new FileInputStream(new 
File(pdfPath)));
        parser.parse();
        System.out.println("PDF Version: " + parser.getDocument().getVersion());

Best Regards,

Andreas

-----Ursprüngliche Nachricht-----
Von: Roeder, Andreas 
Gesendet: Dienstag, 2. Februar 2010 08:43
An: [email protected]
Betreff: Get PDF Version


Hi there,

Is there a simple way (like in iText) to find out the PDF Version?

Best Regards,

Andreas

Reply via email to