Find answers about converting documents and images of various types using Java code on any platform....Comparison Product Family GroupDocs...to Convert DOCX to RTF using Java How to Convert DOCX to MHTML...
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 in PDF documents Working with metadata in PDF documents...
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<PdfRootPackage>(); 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 in PDF documents Working with metadata in PDF documents...
Find answers about converting documents and images of various types using Node.js via Java code on any platform....Comparison Product Family GroupDocs...Convert PDF to Presentation using Node.js Convert PDF to DOCX using...
Find Answers by API GroupDocs.Total Product Family GroupDocs.Conversion Product Family GroupDocs.Annotation Product F......Comparison Product Family GroupDocs...Answers Convert PDF to MHTML using Python Convert PDF to XLSX using...
Find answers about viewing and rendering a variety of file types using code on any platform....Comparison Product Family GroupDocs...Render Word Document to Web Page using Node.js Render Word Document...
Find answers about converting documents and images of various types using code on any platform....Comparison Product Family GroupDocs...Answers Convert PDF to MHTML using Node.js Convert PDF to PPTX using...
This API enables easy conversion of popular file formats, including Docx, XLSX, PPTX, Pdf, CAD drawings, and more using Python without installing extra software....Comparison Product Family GroupDocs...Answers Convert PDF to MHTML using Python Convert PDF to XLSX using...
Find answers about converting documents and images of various types using code on any platform....Comparison Product Family GroupDocs...Answers Convert PDF to MHTML using Python Convert PDF to XLSX using...