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...
This topic describes how to use the GroupDocs.Viewer Java API to convert archive files to HTML, PDF, PNG, and JPEG formats....Editor Product Solution GroupDocs...
Set up a virtual environment, install groupdocs-conversion-net, and run three minimal examples — DOCX → PDF, PDF → per-page PNG, and ZIP → consolidated PDF — in under five minutes....Editor Product Solution GroupDocs...
Learn how to compare Excel spreadsheets programmatically using GroupDocs.Comparison for .NET. Compare spreadsheets with custom styling, visibility controls, summary pages, and advanced comparison options....Editor Product Solution GroupDocs...
This topic describes how to use the GroupDocs.Viewer Node.js API to convert CAD files (DWG, DGN, DXF) to HTML, PDF, PNG, and JPEG formats....Editor Product Solution GroupDocs...
Learn how to extract images from specific document pages using GroupDocs.Parser for Python via .NET. Page-by-page image extraction from PDF, Word, PowerPoint....Editor Product Solution GroupDocs...
This article explains how to detect the document's file type and calculate the number of pages when converting a file with GroupDocs.Conversion for .NET....Editor Product Solution GroupDocs...
GroupDocs.Assembly Product Family on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers Recent content in GroupDocs.Assembly Product Family on GroupDocs Blog | Document Autom......instead of using rich text editors or applications such as MS...written in the plain text editors such as Notepad. As far as...
Note This feature is only compatible with GroupDocs.Assembly for .NET 19.10 or later releases. To access JSON data while building a report, the GroupDocs.Assembly API introduces JsonDataSource class. You can pass its instance to the assembler as a data source. Using of JsonDataSource enables you to work with typed values of JSON elements in template
documents. For more convenience, the set of simple JSON types is extended as follows:...Editor Product Solution GroupDocs...
The GroupDocs.Watermark allows to add text watermarks to documents which may consists of pages, worksheets, slides or frames....Editor Product Solution GroupDocs...