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....and edit metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails...
This article explains how to access EXIF metadata in a file of any supported format....and edit metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails...
Follow this guide and learn how to convert between email formats (MSG, EML, EMLX) and customize attachment processing using GroupDocs.Conversion for .NET....messages to documents (PDF, DOCX, etc.), use the appropriate...converter . Convert ( "newsletter.docx" , options ); } Best Practices...
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....and edit metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails...
This page contains information about building text search queries of various types. More examples on building search queries are provided on the page...to search over your PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX and more...
Hello,
Unfortunately, we experienced an exception when one of our customers dealt with many (and maybe larger) files that they wanted to add to the index.
We got the exception via this event:
pIndex.Events.ErrorOccurr…...problem → Indexing corrupted docx file leads to OutOfMemoryException...
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....docx # Sample input document ├──...Converter ( "./business-plan.docx" ); // Convert and save file...
Access, read, update, and remove IPTC IIM metadata using GroupDocs.Metadata for Python via .NET....and edit metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails...
This article shows how to access IPTC metadata in a file of any supported format....and edit metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails...
This page contains a description of all index settings that can be specified in an instance of the IndexSettings class....to search over your PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX and more...