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 (MetadataMetadata = 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....Metadata Product Solution GroupDocs...Product Solution GroupDocs.Watermark Product Solution GroupDocs...
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 (MetadataMetadata = 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....Metadata Product Solution GroupDocs...Product Solution GroupDocs.Watermark Product Solution GroupDocs...
This article explains how to add Metadata signatures to Spreadsheet document with GroupDocs.Signature...Metadata Product Solution GroupDocs...Product Solution GroupDocs.Watermark Product Solution GroupDocs...
GroupDocs.Metadata for .NET provides functionality that allows working with MPP files created by different versions of Microsoft Project. Please see the code samples below for more information.
Reading built-In Metadata properties To access built-in Metadata of a ProjectManagement document, please use the DocumentProperties property defined in the DocumentRootPackage class.
The following code snippet extracts built-in Metadata properties and displays them on the screen.
AdvancedUsage.ManagingMetadataForSpecificFormats.Document.ProjectManagement.ProjectManagementReadBuiltInProperties
using (MetadataMetadata = new Metadata(Constants.InputMpp)) { var root = Metadata....Metadata Product Solution GroupDocs...Product Solution GroupDocs.Watermark Product Solution GroupDocs...
GroupDocs.Metadata for Java provides functionality that allows working with MPP files created by different versions of Microsoft Project. Please see the code samples below for more information.
Reading built-In Metadata properties To access built-in Metadata of a ProjectManagement document, please use the getDocumentProperties method defined in the DocumentRootPackage class.
The following code snippet extracts built-in Metadata properties and displays them on the screen.
advanced_usage.managing_Metadata_for_specific_formats.document.project_management.ProjectManagementReadBuiltInProperties
try (MetadataMetadata = new Metadata(Constants.InputMpp)) { ProjectManagementRootPackage root = Metadata....Metadata Product Solution GroupDocs...Product Solution GroupDocs.Watermark Product Solution GroupDocs...
Reading Photoshop Metadata properties The GroupDocs Metadata API allows the user to read Adobe Photoshop Metadata associated with a JPEG image. For more information on the Photoshop file format and Metadata blocks that can be attached to images of different formats please refer to the specification: https://www.adobe.com/devnet-apps/photoshop/fileformatashtml/.
The code sample below demonstrates how to extract image resource blocks (building blocks of the Photoshop file format) from a JPEG image....Metadata Product Solution GroupDocs...Product Solution GroupDocs.Watermark Product Solution GroupDocs...
This article shows how to add Metadata signature to the each document type meta layer with different data types over with GroupDocs.Signature...Metadata Product Solution GroupDocs...Product Solution GroupDocs.Watermark Product Solution GroupDocs...
id: esign-pdf-with-Metadata-signature url: signature/net/esign-pdf-with-Metadata-signature title: Electronic Signature PDF with Metadata signature linkTitle: Electronic Signature PDF weight: 2 description: “This article explains how to add Metadata signatures to PDF document meta info layer with GroupDocs.Signature” keywords: Pdf Metadata, Pdf Metadata signatures productName: GroupDocs.Signature for .NET toc: True structuredData: showOrganization: True application: name: Pdf documents Metadata changing in C# description: Update Metadata of pdf document with C# language by GroupDocs.Signature for ....Metadata Product Solution GroupDocs...Product Solution GroupDocs.Watermark Product Solution GroupDocs...