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....Redaction Product Solution GroupDocs.Signature Product Solution GroupDocs...
This topic describes how to use the GroupDocs.Viewer Java API to specify various options for rendering spreadsheet files to HTML, PDF, and image formats....Redaction Product Solution GroupDocs.Signature Product Solution GroupDocs...
Convert a single document from one format to another, optionally selecting specific pages or a page range using the pages / page_number / pages_count attributes on ConvertOptions with GroupDocs.Conversion for Python via .NET....Redaction Product Solution GroupDocs.Signature Product Solution GroupDocs...
Learn how to extract text areas with coordinates and formatting information from documents using GroupDocs.Parser for Python via .NET. Extract text with position data, rectangles, and text styles....Redaction Product Solution GroupDocs.Signature Product Solution GroupDocs...
Apply text and image watermarks in bulk while ensuring safe re-run execution with GroupDocs.Watermark for .NET....Redaction Product Solution GroupDocs.Signature Product Solution GroupDocs...
This article explains how to access EXIF metadata in a file of any supported format....Redaction Product Solution GroupDocs.Signature Product Solution GroupDocs...
Set up a virtual environment, install groupdocs-viewer-net, and run three minimal examples — DOCX → HTML, DOCX → PDF, and DOCX → per-page PNG — in under five minutes....Redaction Product Solution GroupDocs.Signature Product Solution GroupDocs...
Access, read, update, and remove IPTC IIM metadata using GroupDocs.Metadata for Python via .NET....Redaction Product Solution GroupDocs.Signature Product Solution GroupDocs...