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....to obtain information about digital signatures associated with...
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....to obtain information about digital signatures associated with...
GroupDocs.Watermark Product Family on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers Recent content in GroupDocs.Watermark Product Family on GroupDocs Blog | Document Aut......manner than digital watermarks used in other digital multimedia...
About BoardPro BoardPro is an innovative cloud-based startup developing board management software specifically designed to meet the requirements and governance workflows of the board of directors of small to medium businesses and non-profits. It is an easy-to-use software for board meetings, responsibilities, and documents. It is designed specifically to meet the challenges of limited resources and limited experience. Professional corporate boards can afford extensive governance and administration resources, freeing directors to focus on making a powerful contribution.... We have plans for digital signatures, custom document...
GroupDocs Blog | Document Automation Solutions for .NET & Java Developers Recent content on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers GroupDocs.Markdown for .NET — F......Stamp, Image & Form Field Digital Signatures Made Easy Step-by-step...Documents with Python: Create Digital Signatures for PDF, Excel &...
GroupDocs.Total Product Family on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers Recent content in GroupDocs.Total Product Family on GroupDocs Blog | Document Automation ......any Arabic content for the digital age. 25 percent off GroupDocs...NET & Java Applications Digitally sign important business documents...
Master Python tiling watermarks with 7 practical examples. Learn to add, create, and customize watermarks for document security, remove watermarks, and protect files using GroupDocs.Watermark API for enterprise content protection.... What you just installed: Digital watermarking library : Professional-grade...
GroupDocs.Metadata Product Family on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers Recent content in GroupDocs.Metadata Product Family on GroupDocs Blog | Document Autom......0 Now Detects Digital Signatures in Documents GroupDocs...Users can now detect or remove digital signatures from documents....