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 FileType property to obtain file format information AdvancedUsage.ManagingMetadataForSpecificFormats.Document.Pdf.PdfReadFileFormatProperties
using (Metadata metadata = new Metadata(Constants.InputPdf)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.FileType.FileFormat); Console.WriteLine(root.FileType.Version); Console.WriteLine(root.FileType.MimeType); Console.WriteLine(root.FileType.Extension); } Reading built-in metadata properties To access built-in metadata of a PDF Document, please use the DocumentProperties property defined in the DocumentRootPackage class....Merger Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Metadata Product...
This article gives knowledge on how to highlight search results in the text of a Document....Merger Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Search Product...
This article gives knowledge on how to highlight search results in the text of a Document....Merger Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Search Product...
This topic describes how to use the GroupDocs.Viewer Java API to convert Word Documents to HTML, PDF, PNG, and JPEG formats....Merger Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Viewer Product...
This article explains how to delete Image electronic signatures with GroupDocs.Signature API....Merger Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Signature Product...
Find answers about extracting text, images, and metadata of different files using code on any platform....Merger Product Family GroupDocs.Redaction...to Extract Text from Word Document in Java How to Extract Images...
This guide walks you through the whole process to convert TIFF to PDF in Java. Explore sample code for Java TIFF to PDF capability and modify it as per your needs....Merger Product Family GroupDocs.Redaction...PDF in Java We will explore document transformation utilizing one...
This article shows how to extract table of contents from Microsoft Word (DOC, DOCX etc), PDF Documents and Ebooks (CHM, EPUB)....Merger Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Parser Product...
This article shows how to extract table of contents from Microsoft Word (DOC, DOCX etc), PDF Documents and Ebooks (CHM, EPUB)....Merger Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Parser Product...
This article explains how to add metadata signatures to Spreadsheet Document with GroupDocs.Signature...Merger Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Signature Product...