Detecting the version of a PDF document The following sample of code will help you to detect the PDF version a loaded document and extract some additional file format information.
Load a PDF document Extract the root metadata package Use the getPdfType method to obtain file format information advanced_usage.managing_metadata_for_specific_formats.document.pdf.PdfReadFileFormatProperties
try (Metadata metadata = new Metadata(Constants.InputPdf)) { PdfRootPackage root = metadata.getRootPackageGeneric(); System.out.println(root.getPdfType().getFileFormat()); System.out.println(root.getPdfType().getVersion()); System.out.println(root.getPdfType().getMimeType()); System.out.println(root.getPdfType().getExtension()); } Reading built-in metadata properties To access built-in metadata of a PDF document, please use the getDocumentProperties method defined in the DocumentRootPackage class....of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images and more...
This article shows how to access IPTC metadata in a file of any supported format....of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images and more...
This article explains how to access EXIF metadata in a file of any supported format, GroupDocs.Metadata for Java provides the IExif.getExifPackage method....of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images and more...
Uno ar-lein TIF am ddim. Cyfuno TIF i ffeil sengl. 100% am ddim ar-lein TIF uno, yn ddiogel ac yn hawdd i'w ddefnyddio....Microsoft Excel Add-in Ffeiliau Uno XLS Excel Spreadsheet XLSB Uno Excel...