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....Viewer Product Solution GroupDocs...metadata in PDF documents Working with metadata in PDF documents...
JSON to HTML in Java on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers Recent content in JSON to HTML in Java on GroupDocs Blog | Document Automation Solutions for .NET &......Java 將 JSON 呈現為 PDF、JPG、PNG 和 HTML 在 Java 中以 PDF 格式查看 JSON 文件。此外,使用...文件。此外,使用 JSON Viewer API 在 Java 應用程序中將 JSON 文件呈現為 JPG、PNG 和 HTML。...
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....Viewer Product Solution GroupDocs...metadata in PDF documents Working with metadata in PDF documents...
This article explains how to get the width and height of the document pages using .NET / C# with GroupDocs.Viewer for .NET....Viewer Product Solution GroupDocs...GroupDocs.Viewer Product Family / GroupDocs.Viewer for .NET /...
Getting metadata and binary content of all fonts, used in the document, loaded to the GroupDocs.Viewer for .NET...Viewer Product Solution GroupDocs...GroupDocs.Viewer Product Family / GroupDocs.Viewer for .NET /...
I’m trying to rotate page in web-base(groupdoc Viewer) but this still cannot be done. I would like to know if this avialible for rotate function and how to....Viewer Product Family document-viewer Thitinan May...rotate page in web-base(groupdoc viewer) but this still cannot be done...
This article demonstrates that how you can specify starting page index (zero based) and the number of pages from this index to save a rasterized Pdf...Viewer Product Solution GroupDocs...rasterized PDF Select specific pages for rasterized PDF Leave feedback...
This article explains that how to parse data from Pdf documents...Viewer Product Solution GroupDocs...Extract data from PDF documents / Parse data from PDF documents Parse...
This article explains that how to extract attachments from Pdf documents...Viewer Product Solution GroupDocs...data from PDF documents / Extract attachments from PDF portfolios...
Free online document text and metadata extractor. Secure and easy to use OTP text and metadata parser and extractor...Extractor OTP Text Viewer OTP Image Viewer Read QR code Read Barcode...HTML XHTML MHT MHTML XML MD ONE PDF PPT PPTX PPS PPSX ODP POT PPTM...