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.... DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images and more with...
Annotate documents with an AI agent: Claude, Cursor or Copilot add comments to a PDF through MCP, and GroupDocs.Annotation.Mcp writes them locally....types work across PDF, DOCX, XLSX, PPTX and images, with the 50+...
This article describes how to build text search queries of various types: simple, wildcard, faceted, numeric range, date range, regular expression, boolean and phrase queries.... DOC, DOCX, PPT, PPTX, XLS, XLSX and more with our free online...
This page contains descriptions of all character types. Character types differ in how characters of these types are indexed.... DOC, DOCX, PPT, PPTX, XLS, XLSX and more with our free online...
Search text in documents by keyword or regular expression, with highlights and page numbers, using GroupDocs.Parser for Node.js via Java.... DOC, DOCX, PPT, PPTX, XLS, XLSX, Emails and more with our ....
Extract the text structure of a document as an XML document and process it with GroupDocs.Parser for Node.js via Java.... DOC, DOCX, PPT, PPTX, XLS, XLSX, Emails and more with our ....
Learn how to read fields and tables from DocumentData returned by parseByTemplate in Node.js with GroupDocs.Parser for Node.js via Java.... DOC, DOCX, PPT, PPTX, XLS, XLSX, Emails and more with our ....
Convert part of a document to Markdown locally and cut tokens for the LLM. Page lists and worksheets with GroupDocs.Markdown.Mcp in Claude Desktop or Cursor.... # In XLSX, XLS and ODS files the numbers...
This article describes the basic steps of building a search solution with GroupDocs.Search for .NET: creating and opening an index, indexing documents, searching and processing search results.... DOC, DOCX, PPT, PPTX, XLS, XLSX and more with our free online...