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(); 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....Watermark Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Metadata Product...
This topic describes how to use the GroupDocs.Viewer Java API to convert Word Documents to HTML, PDF, PNG, and JPEG formats....Watermark Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Viewer Product...
Use advanced rasterization options In order to use the advanced rasterization options you have to pass one of the options to Save method. In this case the Document will be rasterized to PDF, but the scan-like effects will be applied to its pages.
The following example demonstrates how to apply the AdvancedRasterizationOptions with default settings.
final Redactor redactor = new Redactor("Sample.docx"); try { // Save the Document with advanced options (convert pages into images, and save PDF with scan-like pages) SaveOptions so = new SaveOptions(); so....Watermark Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Redaction Product...
This article explains that how to extract text areas from Documents in Java....Watermark Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Parser Product...
This API allows you to digitally sign any type of file format using .NET and C# language on any platform....Watermark Product Family GroupDocs.Merger...Latest Answers How to Sign PDF Document with Barcode signature in...
This article gives knowledge on how to highlight search results in the text of a Document....Watermark Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Search Product...
This article gives knowledge on how to highlight search results in the text of a Document....Watermark Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Search Product...
Follow this guide and learn how to remove page from PDF or Word Document, delete worksheet from Excel file or remove slides from PowerPoint presentations with GroupDocs.Merger API....Watermark Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Merger Product...
This article explains how to delete Image electronic signatures with GroupDocs.Signature API....Watermark Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Signature Product...
Extract attachments from PDF portfolios To extract attachments from emails getContainer method is used. This method returns the collection of ContainerItem objects.
Here are the steps to extract an attachment text from PDF Portfolios:
Instantiate Parser object for the initial Document; Call getContainer method and obtain collection of ContainerItem objects; Check if collection isn’t null (container extraction is supported for the Document); Iterate through the collection and get container item names, sizes and obtain content....Watermark Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Parser Product...