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 FileType property To obtain file format information AdvancedUsage.ManagingMetadataForSpecificFormats.Document.Pdf.PdfReadFileFormatProperties
using (Metadata metadata = new Metadata(Constants.InputPdf)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.FileType.FileFormat); Console.WriteLine(root.FileType.Version); Console.WriteLine(root.FileType.MimeType); Console.WriteLine(root.FileType.Extension); } Reading built-in metadata properties To access built-in metadata of a PDF document, please use the DocumentProperties property defined in the DocumentRootPackage class....Conversion Product Solution GroupDocs...DOCX, PPT, PPTX, XLS, XLSX, emails, images and more with our free...
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...
id: search-text-in-html-documents url: parser/net/search-text-in-html-documents title: Search text in HTML documents weight: 2 description: “To search a keyword in HTML documents Search(String) method is used. This method returns the collection of SearchResult objects.” keywords: search a keyword, search a keyword in HTML productName: GroupDocs.Parser for .NET hideChildren: False Toc: true
To search a keyword in HTML documents Search(String) method is used. This method returns the collection of SearchResult objects. For details, see Search Text....Conversion Product Solution GroupDocs...DOCX, PPT, PPTX, XLS, XLSX, Emails and more with our free online...
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...
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...
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...
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...