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...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Metadata Product...
This article explains how to search for Image electronic signatures with GroupDocs.Signature API....Redaction Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Signature Product...
The page describes how to add point annotation to a Document using GroupDocs.Annotation for .NET....Redaction Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Annotation Product...
The Developer Guide section explains all aspects of GroupDocs.Editor for Node.js via Java file editor features, provides code snippets, and examples of editing Microsoft Office formats programmatically in Node.js applications....Redaction Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Editor Product...
This article shows how to extract metadata with GroupDocs.Parser from Documents of various formats: PDF, Emails, Ebooks, Microsoft Office: Word (DOC, DOCX), PowerPoint (PPT, PPTX), Excel (XLS, XLSX), LibreOffice formats and many others....Redaction Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Parser Product...
Find answers about extracting text, images, and metadata of different files using code on any platform....Redaction Product Family GroupDocs.Parser...to Extract Text from Word Document in Java How to Extract Images...
This article shows how to sign Documents in batch mode within the archive files with one or multiple electronic signatures...Redaction Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Signature Product...