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....Conversion Product Solution GroupDocs...DOCX, PPT, PPTX, XLS, XLSX, emails, images and more with our free...
Complete guide To extracting data from databases via JDBC using GroupDocs.Parser for Java. Learn how To connect To SQLite, SQL Server, and other databases To extract table data....Conversion Product Solution GroupDocs...DOCX, PPT, PPTX, XLS, XLSX, Emails and more with our free online...
Extract text areas with their page rectangles from documents, pages or page regions with GroupDocs.Parser for Node.js via Java....Conversion Product Solution GroupDocs...DOCX, PPT, PPTX, XLS, XLSX, Emails and more with our . Was this...
GroupDocs.Metadata for .NET provides functionality that allows working with different kinds of WordProcessing documents such as DOC, DOCX, ODT, 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 document and extract some additional file format information.
Load a WordProcessing document Extract the root metadata package Use the FileType property To obtain file format information AdvancedUsage....Conversion Product Solution GroupDocs...DOCX, PPT, PPTX, XLS, XLSX, emails, images and more with our free...
This article shows how To access IPTC metadata in a file of any supported format....Conversion Product Solution GroupDocs...DOCX, PPT, PPTX, XLS, XLSX, emails, images and more with our free...
Learn how To extract text from Excel spreadsheets (.xls, .xlsx) using GroupDocs.Parser for Java. Includes examples for whole document extraction, sheet-by-sheet processing, raw mode extraction, and formatted text output....Conversion Product Solution GroupDocs...DOCX, PPT, PPTX, XLS, XLSX, Emails and more with our free online...
Learn how To create an OCR connecTor with Aspose.OCR for Java and plug it inTo GroupDocs.Parser for Node.js via Java....Conversion Product Solution GroupDocs...DOCX, PPT, PPTX, XLS, XLSX, Emails and more with our . Was this...
Search text in documents by keyword or regular expression, with highlights and page numbers, using GroupDocs.Parser for Node.js via Java....Conversion Product Solution GroupDocs...DOCX, PPT, PPTX, XLS, XLSX, Emails and more with our . Was this...
Complete guide To extracting data from databases via ADO.NET using GroupDocs.Parser for .NET. Learn how To connect To SQLite, SQL Server, and other database providers To extract table data....Conversion Product Solution GroupDocs...DOCX, PPT, PPTX, XLS, XLSX, Emails and more with our free online...