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....Conversion Product Solution GroupDocs...metadata in PDF documents Working with metadata in PDF documents...
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....Conversion Product Solution GroupDocs...data from PDF documents / Extract attachments from PDF portfolios...
Convert PPT to Pdf in CSharp on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers Recent content in Convert PPT to Pdf in CSharp on GroupDocs Blog | Document Automation Solu......Convert PPT to PDF in CSharp on GroupDocs Blog | Document Automation...Recent content in Convert PPT to PDF in CSharp on GroupDocs Blog |...
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...Conversion Product Solution GroupDocs...rasterized PDF Select specific pages for rasterized PDF Leave feedback...
I use the code below to convert .eml files to .Pdf. However, setting the margins using options.setMarginBottom(12), options.setMarginTop(12), options.setMarginLeft(12), and options.setMarginRight(12) no long…...pdf after upgrading to 24.8 from...from 22.8.1 GroupDocs.Conversion Product Family java jayleggett February...
To extract data from Pdf documents parseForm and parseByTemplate(Template) methods are used. Both methods return DocumentData object. For details, see Working With Extracted Data.
Here are the steps to extract data from Pdf Form:
Instantiate Parser object for the initial document Call parseForm method and obtain the DocumentData object; Check if data isn’t null (parse form is supported for the document); Iterate over field data to obtain form data. The following example shows the use case when a user fills in Pdf form and send it by email (for example)....Conversion Product Solution GroupDocs...Extract data from PDF documents / Parse data from PDF documents Parse...
Removing watermark from a particular page of Pdf document using C#....Conversion Product Solution GroupDocs...watermarks to PDF documents / Existing objects in PDF document Existing...
This article explains how to use Pdf digital electronic signature features on document page....Conversion Product Solution GroupDocs.../ Sign Pdf documents with special appearance Sign Pdf documents...
Convert PPTX to Pdf in CSharp on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers Recent content in Convert PPTX to Pdf in CSharp on GroupDocs Blog | Document Automation So......Convert PPTX to PDF in CSharp on GroupDocs Blog | Document Automation...Recent content in Convert PPTX to PDF in CSharp on GroupDocs Blog |...
This topic describes how to use the GroupDocs.Viewer Node.js API to convert email messages to HTML, Pdf, PNG, and JPEG formats....Conversion Product Solution GroupDocs...Render email messages as HTML, PDF, PNG, and JPEG files Leave feedback...