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...
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 explains how To access IPTC metadata in a file of any supported format, GroupDocs.Metadata for Java provides the IIptc.getIptcPackage method....Conversion Product Solution GroupDocs...DOCX, PPT, PPTX, XLS, XLSX, emails, images and more with our free...
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...
This article explains that how To extract text structure from documents....Conversion Product Solution GroupDocs...DOCX, PPT, PPTX, XLS, XLSX, Emails and more with our free online...
Learn how To extract text from Excel spreadsheets (.xls, .xlsx) using GroupDocs.Parser for .NET. 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...
This article explains that how To extract text structure from documents....Conversion Product Solution GroupDocs...DOCX, PPT, PPTX, XLS, XLSX, Emails and more with our free online...
Document template is set by Template class. It contains template items - fields and tables. Each item has the unique (in the template bounds) name and optional page index - value that represents the index of the page where the template item is located; null if the template item is located on any page.
Template fields The template field is set by TemplateField class with the following construcTor:
TemplateField(TemplatePosition position, String name, Integer pageIndex) Parameter Description position Defines the way how To find the field on a page....Conversion Product Solution GroupDocs...DOCX, PPT, PPTX, XLS, XLSX, Emails and more with our free online...
Complete guide To creating and using templates for structured data extraction with GroupDocs.Parser for .NET. Learn template-based extraction for invoices, forms, and documents in C#....Conversion Product Solution GroupDocs...DOCX, PPT, PPTX, XLS, XLSX, Emails and more with our free online...