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....Comparison Product Solution GroupDocs...metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images and...
This article explains how to access EXIF metadata in a file of any supported format....Comparison Product Solution GroupDocs...metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images and...
First of all you need to create an index. An index can be created in memory or on disk. An index created in memory cannot be saved after exiting your program. In contrast, an index created on disk may be loaded in the future to continue working....Comparison Product Solution GroupDocs...over your PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX and more with our...
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....Comparison Product Solution GroupDocs...metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images and...
It supports DOCX, DOCM, DOC, DOT, DOTM, XLS, XLSX, PDF, PPT, JPG, PNG, HTML, EML and many more...Comparison Product Solution GroupDocs...Try the to convert DOCX, XLSX, PPTX, and more. This topic lists...
This page contains a description of all index settings that can be specified in an instance of the IndexSettings class....Comparison Product Solution GroupDocs...over your PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX and more with our...
This page contains a description of all index settings that can be specified in an instance of the IndexSettings class....Comparison Product Solution GroupDocs...over your PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX and more with our...
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....Comparison Product Solution GroupDocs...data from PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, Emails and more...
Learn how to run GroupDocs.Total for .NET in Docker containers with complete examples, troubleshooting tips, and best practices for document processing in containerized environments....Comparison Product Solution GroupDocs...documents, especially DOCX, PPTX, and PDFs, use Microsoft fonts...