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...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Metadata Product...
This article explains how to provide advanced options when updating Image electronic signatures with GroupDocs.Signature API....Editor Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Signature Product...
Adding watermark to any supported Document format using GroupDocs.Watermark consists of some easy steps...Editor Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Watermark Product...
This article explains how to load from stream while using GroupDocs. Watermarks API....Editor Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Watermark Product...
This topic describes how to use the GroupDocs.Viewer .NET API (C#) to convert web Documents to PDF, PNG, and JPEG formats....Editor Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Viewer Product...
This topic describes how to use the GroupDocs.Viewer .NET API (C#) to convert Visio diagrams to HTML, PDF, PNG, and JPEG formats....Editor Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Viewer Product...
This page describes how to perform indexing of password protected Documents.
Indexing using the password dictionary To perform indexing of password protected Documents using a password dictionary, you must add passwords for all protected Documents to the dictionary before indexing. To add a Document password to the dictionary, you must specify the full path to the Document as a key and the actual password to the Document. For more information about managing the password dictionary see the Document passwords page in the Managing dictionaries section....Editor Product Solution GroupDocs...Events Acquisition GroupDocs Documentation / GroupDocs.Search Product...
This article shows how the redaction API is used to load file from disk....Editor Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Redaction Product...
Following this guide you will learn how to change PDF Document page rotation angle using GroupDocs.Merger for Node.js via Java API....Editor Product Solution GroupDocs...Events Acquisition GroupDocs Documentation / GroupDocs.Merger Product...
This article explains pros and cons of float and paginal Document editing modes when edit Word Documents with GroupDocs.Editor API....Editor Product Solution GroupDocs...Ask AI GroupDocs Documentation / GroupDocs.Editor Product Family...