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....Redaction Product Solution GroupDocs.Classification Product Solution Purchase...
Calculate and display aggregate values like sums, counts, and averages from data collections in templates....Redaction Product Solution GroupDocs.Classification Product Solution Purchase...
This page is about the classification of search engines and what place GroupDocs.Search API occupies in this classification. There are a large number of ways to classify search engines. Here are the main ones...Redaction Product Solution GroupDocs.Classification Product Solution Purchase...
This page contains a description of all the properties of the IndexingOptions class...Redaction Product Solution GroupDocs.Classification Product Solution Purchase...
This article demonstrates how to convert PDF to Word, Excel, PowerPoint and image formats with GroupDocs.Conversion for Node.js via Java....Redaction Product Solution GroupDocs.Classification Product Solution Purchase...
This topic describes how to use the GroupDocs.Viewer Node.js API to specify various options for rendering CAD files to HTML, PDF, PNG, and JPEG....Redaction Product Solution GroupDocs.Classification Product Solution Purchase...
This page contains a description of the use of document filters for indexing, as well as descriptions of all types of filters with examples of their creation....Redaction Product Solution GroupDocs.Classification Product Solution Purchase...
A convenient text extractor API that permits users to extract raw or formatted text from different document formats. Besides, it is not only a text extractor API, the user can extract metadata from the document as well....Redaction Product Solution GroupDocs.Classification Product Solution Purchase...
This page contains a description of the use of document filters for indexing, as well as descriptions of all types of filters with examples of their creation....Redaction Product Solution GroupDocs.Classification Product Solution Purchase...
Convert Outlook (PST/OST) files to HTML, PDF, PNG, or JPEG using the GroupDocs.Viewer Python API....Redaction Product Solution GroupDocs.Classification Product Solution Purchase...