Pdf version information

Help
2008-10-05
2013-05-28
  • Where do i get  the Pdf version of the opened document from the PDDocument?
    Thank you

     
    • mtraut
      mtraut
      2008-10-06

      There are two version information tags within the document:

      - STDocument.getDocType().getVersion()

      will return the version from the PDF file header.

      - COSDocument.getCatalog().getVersion()

      will return any redefinition of this tag