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....Editor Product Solution GroupDocs.Merger Product Solution GroupDocs...
Following this guide, you will learn how to obtain basic document metadata like page count, size, and file type before editing it with GroupDocs.Editor for Node.js via Java API....Editor Product Solution GroupDocs.Merger Product Solution GroupDocs...
Note This document describes the changes to the GroupDocs.Assembly API from version 18.7 to 18.9 or greater that may be of interest to module/application developers. It includes not only new and updated public methods, added & removed classes etc., but also a description of any changes in the behaviour behind the scenes in GroupDocs.Assembly. Breaking changes Removed members of DocumentAssembler were replaced with new ones. Removed members were not marked as obsolete (deprecated) before removal as usual, because this would complicate migration to new members of DocumentAssembler in Java....Editor Product Solution GroupDocs.Merger Product Solution GroupDocs...
This article demonstrates how to load, edit, and read form fields in a Word document using GroupDocs.Editor for Node.js via Java....Editor Product Solution GroupDocs.Merger 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...Editor Product Solution GroupDocs.Merger Product Solution GroupDocs...
This guide demonstrates how to edit PPT, PPTX, PPTM, PPSX, PPSM, POTX, POTM presentations with different settings and many other powerful features of GroupDocs.Editor for .NET....Editor Product Solution GroupDocs.Merger Product Solution GroupDocs...
This article explains how to create instance of the EditableDocument class from HTML files from disk or from HTML markup with resources using GroupDocs.Editor for Java API....Editor Product Solution GroupDocs.Merger Product Solution GroupDocs...
This article describes how to preserve and export all built-in and custom styles in a source WordProcessing document during editing using GroupDocs.Editor for Node.js via Java....Editor Product Solution GroupDocs.Merger Product Solution GroupDocs...
This topic describes how to use the GroupDocs.Viewer and Node.js to convert Word documents to HTML, PDF, PNG, and JPEG formats....Editor Product Solution GroupDocs.Merger Product Solution GroupDocs...
This topic describes how to use the GroupDocs.Viewer Java API to convert Outlook data files (PST and OST) to HTML, PDF, PNG, and JPEG formats....Editor Product Solution GroupDocs.Merger Product Solution GroupDocs...