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...
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 article explains main principles and stages of editing documents programmatically with GroupDocs.Editor for .NET API....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...
Note This feature is only compatible with GroupDocs.Assembly for .NET 19.10 or later releases. To access JSON data while building a report, the GroupDocs.Assembly API introduces JsonDataSource class. You can pass its instance to the assembler as a data source. Using of JsonDataSource enables you to work with typed values of JSON elements in template
documents. For more convenience, the set of simple JSON types is extended as follows:...Editor Product Solution GroupDocs.Merger Product Solution GroupDocs...