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....Redaction Product Solution GroupDocs...app About About Us Contact Customers Legal Security Events Acquisition...
This article shows that how to remove pages with sensitive data from your Pdf, presentation and spreadsheet documents....Redaction Product Solution GroupDocs...app About About Us Contact Customers Legal Security Events Acquisition...
Open Navigation Close Navigation Products GroupDocs.Total Product Family GroupDocs.Viewer Product Solution GroupDocs.......Redaction Product Solution GroupDocs...app About About Us Contact Customers Legal Security Events Acquisition...
This article shows how the Redaction API is used to load file from disk....Redaction Product Solution GroupDocs...app About About Us Contact Customers Legal Security Events Acquisition...
This article demonstrates that how to save the redacted document, replacing an original file...Redaction Product Solution GroupDocs...app About About Us Contact Customers Legal Security Events Acquisition...
This topic describes how to use the GroupDocs.Viewer Node.js API to convert images to HTML, Pdf, PNG, and JPEG formats....Redaction Product Solution GroupDocs...app About About Us Contact Customers Legal Security Events Acquisition...
Convert images to HTML, Pdf, PNG, or JPEG using the GroupDocs.Viewer Python API. Learn how to render files effectively....Redaction Product Solution GroupDocs...app About About Us Contact Customers Legal Security Events Acquisition...
This topic describes how to use the GroupDocs.Viewer Java API to convert images to HTML, Pdf, PNG, and JPEG formats....Redaction Product Solution GroupDocs...app About About Us Contact Customers Legal Security Events Acquisition...
This article shows that how to load file from stream using Redaction API...Redaction Product Solution GroupDocs...app About About Us Contact Customers Legal Security Events Acquisition...
This article demonstrates the simplest way to save the document...Redaction Product Solution GroupDocs...app About About Us Contact Customers Legal Security Events Acquisition...