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...
This article describes the new feature of the GroupDocs.Editor for Java version 26.1 - deleting (removing) one or many slides from the loaded and edited presentation during its saving to the output format...shows full roundtrip of input PPT file: presentation with 21 slides...Editor ( "Presentations-Tips.ppt" , new PresentationLoadOpti ());...
This guide demonstrates how to edit Ppt, PptX, PptM, PPSX, PPSM, POTX, POTM presentations with different settings and many other powerful features of GroupDocs.Editor for .NET....are presented by many formats: PPT, PPTX, PPTM, PPS(X/M), POT(X/M)...
This article describes the basic steps of building a search solution with GroupDocs.Search for .NET: creating and opening an index, indexing documents, searching and processing search results....search over your PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX and more with...
This article describes the classes that represent search results and shows how to work with them....search over your PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX and more with...
This page contains a description of the use of document filters for indexing, as well as descriptions of all types of filters with examples of their creation....search over your PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX and more with...
This page contains a description of all the properties of the IndexingOptions class...search over your PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX and more with...
The OperationFinished event occurs when an index operation completes – indexing, updating, merging, or optimizing (segment merging)...search over your PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX and more with...
This article demonstrates how to convert PDF to Word, Excel, PowerPoint and image formats with GroupDocs.Conversion for Node.js via Java....Microsoft PowerPoint with its PPT and PPTX file formats, though...