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...
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...Comparison Product Solution GroupDocs...rasterized PDF Select specific pages for rasterized PDF Leave feedback...
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...
This article explains how to add attachment to Pdf document with GroupDocs.Merger within your .NET applications....Comparison Product Solution GroupDocs...attachment to PDF document How to add attachment to PDF document Leave...
Document Automation APIs to enrich .NET and Java applications to view, edit, annotate, convert, compare, e-sign, parse, split, merge, redact, or classify documents of almost all the popular file formats....PowerPoint format Read TIFF Image File Directory tags Remove hidden...Microsoft Office, PDF, Adobe Photoshop and image formats - the complete...
In this article, you will learn how to extract compressed files and convert them to desired format with GroupDocs.Conversion for .NET....Comparison Product Solution GroupDocs...EBook: , , Image: , , , , , , , , , , , , , , , , , , , , PDF: Page...
GroupDocs Blog - GroupDocs Blog | Document Automation Solutions for .NET & Java Developers...version is the support for image file formats for all existing...other document formats for image file formats as well. Team GroupDocs...
This article explains how to add attachment to Pdf document with GroupDocs.Merger within your Java applications....Comparison Product Solution GroupDocs...attachment to PDF document How to add attachment to PDF document Leave...
Solutions to the most common GroupDocs.Parser MCP server issues — server not appearing in the client, startup failures, missing native dependencies, and first-launch timeouts....Comparison Product Solution GroupDocs...volume mounts, and the first image pull. See Troubleshooting (...
You can render RTF as Pdf using Python to convert rich text files into professional, shareable documents. This approach lets you create Pdf from RTF in Python effortlessly....Comparison Product Family GroupDocs...Product Family Render RTF as PDF using Python RTF (Rich Text Format)...