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 by API GroupDocs.Total Product Family GroupDocs.Conversion Product Family GroupDocs.Annotation Product F......Comparison Product Family GroupDocs...Convert XLSX to DOCX using Python Convert PDF to EMF using Python...
Find answers about converting documents and images of various types using .NET code on any platform....Comparison Product Family GroupDocs...to Convert DOCX to SVG using C# How to Convert DOCX to XPS using...
Find answers about converting documents and images of various types using code on any platform....Comparison Product Family GroupDocs...Convert XLSX to DOCX using Python Convert PDF to EMF using Python...
Follow this guide and learn how To convert MS Excel workbooks - XLSX, XLS, XLSB using C# language and GroupDocs.Conversion for .NET....Comparison Product Solution GroupDocs...Description Language: , , , , , PDF: Presentation: FODP, , , , ,...
Follow this guide and learn how To convert MS Excel workbooks - XLSX, XLS, XLSB using Java language and GroupDocs.Conversion for Java....Comparison Product Solution GroupDocs...Description Language: , , , , PDF: Presentation: FODP, , , , ,...
Free online document search. Secure and easy To use full text online search in XLTM....in XLTM XLTM Search Search words and phrases in XLTM. Perform...allows you to search a XLTM for a word or phrase using simple or complex...
Free online document search. Secure and easy To use full text online search in EMLX....in EMLX EMLX Search Search words and phrases in EMLX. Perform...allows you to search a EMLX for a word or phrase using simple or complex...
Free online document search. Secure and easy To use full text online search in ODP....Search in ODP ODP Search Search words and phrases in ODP. Perform...allows you to search a ODP for a word or phrase using simple or complex...