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....Assembly 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....Assembly Product Solution GroupDocs...
This article demonstrates how to save edited text documents, spreadsheets and presentations with GroupDocs.Editor for .NET API....Assembly Product Solution GroupDocs...
This topic describes how to use the GroupDocs.Viewer Java API to convert PowerPoint presentations to HTML, PDF, PNG, and JPEG formats....Assembly Product Solution GroupDocs...
This topic describes how to use the GroupDocs.Viewer Java API to convert email messages to HTML, PDF, PNG, and JPEG formats....Assembly Product Solution GroupDocs...
GroupDocs.Metadata for Java provides functionality that allows working with different kinds of spreadsheet formats such as XLS, XLSX, ODS, etc. For the full list of supported document formats please refer to Supported document formats.
Detecting the exact type of a document The following sample of code will help you to detect the exact type of a loaded spreadsheet and extract some additional file format information.
Load a Spreadsheet document Extract the root metadata package Use the getSpreadsheetType method to obtain file format information advanced_usage....Assembly Product Solution GroupDocs...
This topic describes how to use the GroupDocs.Viewer Node.js API to convert PowerPoint presentations to HTML, PDF, PNG, and JPEG formats....Assembly Product Solution GroupDocs...
Search text in documents by keyword or regular expression, with highlights and page numbers, using GroupDocs.Parser for Node.js via Java....Assembly Product Solution GroupDocs...