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....Parser Product Solution GroupDocs.Watermark Product Solution GroupDocs...
Follow this guide and learn how to convert between diagram formats (VSDX, VSD, VSS, etc.) and customize page fitting using GroupDocs.Conversion for .NET....Parser Product Solution GroupDocs.Watermark Product Solution GroupDocs...
GroupDocs.Metadata for Java provides functionality that allows working with different kinds of presentations such as PPT, PPTX, POTM, POTX, etc. For the full list of supported presentation formats please refer to Supported document formats.
Detecting the exact type of a presentation The following sample of code will help you to detect the exact type of a loaded presentation and extract some additional file format information.
Load a presentation Extract the root metadata package Use the getPresentationType method to obtain file format information advanced_usage....Parser Product Solution GroupDocs.Watermark Product Solution GroupDocs...
This topic describes how to use the GroupDocs.Viewer .NET API to convert EBooks to HTML, PDF, PNG, and JPEG formats....Parser Product Solution GroupDocs.Watermark Product Solution GroupDocs...
Calculate and display aggregate values like sums, counts, and averages from data collections in templates....Parser Product Solution GroupDocs.Watermark Product Solution GroupDocs...
Fixing Invalid Form Fields and Saving the Document with GroupDocs.Editor for Node.js via Java...Parser Product Solution GroupDocs.Watermark Product Solution GroupDocs...
This article explains how to sign document with Text electronic signatures using extended options with GroupDocs.Signature API....Parser Product Solution GroupDocs.Watermark Product Solution GroupDocs...
This page contains a description of all index settings that can be specified in an instance of the IndexSettings class....Parser Product Solution GroupDocs.Watermark Product Solution GroupDocs...
Catch and handle common exceptions during document assembly and validate template syntax and data....Parser Product Solution GroupDocs.Watermark Product Solution GroupDocs...