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....metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images and...
I’m currently trialing GroupDocs.Viewer in our .NET project for rendering PDF files. Everything is smooth, fast, and easy to integrate. We were hoping to use this API to display our PDF files to the user in a “read-only”…...documents like DOCX, PDF, XLSX, PPTX, XPS, PSD, AI, ZIP, SVG, and...
This article explains how to access EXIF metadata in a file of any supported format....metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images and...
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....metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images and...
This page contains information about building text search queries of various types. More examples on building search queries are provided on the page...over your PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX and more with our...
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....over your PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX and more with our...
This topic describes how to use the GroupDocs.Viewer Java API to convert PowerPoint presentations to HTML, PDF, PNG, and JPEG formats....PPTX) (.PPT) (.POTX) (.POT) (.POTM)...viewer = new Viewer ( "sample.pptx" )) { // Create an HTML file...
Access, read, update, and remove IPTC IIM metadata using GroupDocs.Metadata for Python via .NET....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...Try the to convert DOCX, XLSX, PPTX, and more. This topic lists...
This article shows how to access IPTC metadata in a file of any supported format....metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images and...