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....Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
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...Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
This page contains a description of all the properties of the IndexingOptions class...Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
This article demonstrates how to convert PDF to Word, Excel, PowerPoint and image formats with GroupDocs.Conversion for Node.js via Java....Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
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....Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
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....Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
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....Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
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....Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
Convert Outlook (PST/OST) files to HTML, PDF, PNG, or JPEG using the GroupDocs.Viewer Python API....Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...