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 (Metadata metadata = new Metadata(Constants.InputMpp)) { var root = metadata....Assembly Product Solution GroupDocs...
Following this guide you will learn how to obtain basic document metadata like pages count, size, file type before editing it with GroupDocs.Editor for Java API....Assembly Product Solution GroupDocs...
Learn this article and check how to load and convert PST/OST documents with advanced options using GroupDocs.Conversion for .NET API....Assembly Product Solution GroupDocs...
Learn this article and check how to load and convert text files with advanced options using GroupDocs.Conversion for .NET API....Assembly Product Solution GroupDocs...
This article shows how to sign documents in batch mode within the archive files with one or multiple electronic signatures...Assembly 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...Assembly Product Solution GroupDocs...
Get ZIP format metadata The API allows detecting ZIP archives and reading format metadata. The following steps are needed to be followed:
Load a ZIP archive Get the root metadata package Extract the native metadata package using the ZipRootPackage.getZipPackage method Read the ZIP archive properties Loop through ZipPackage.getFiles to extract information about the archived files The following code snippet shows how to get metadata from a ZIP archive.
advanced_usage.managing_metadata_for_specific_formats.archive.ZipReadNativeMetadataProperties...Assembly Product Solution GroupDocs...
Reading AVI header properties The GroupDocs.Metadata API supports extracting format-specific information from AVI file headers.
The following are the steps to read the header of an AVI file.
Load an AVI video Get the root metadata package Extract the native metadata package using the AviRootPackage.getHeader method Read the AVI header properties advanced_usage.managing_metadata_for_specific_formats.video.avi.AviReadHeaderProperties
try (Metadata metadata = new Metadata(Constants.InputAvi)) { AviRootPackage root = metadata.getRootPackageGeneric(); System.out.println(root.getHeader().getAviHeaderFlags()); System.out.println(root.getHeader().getHeight()); System.out.println(root.getHeader().getWidth()); System.out.println(root.getHeader().getTotalFrames()); System.out.println(root.getHeader().getInitialFrames()); System.out.println(root.getHeader().getMaxBytesPerSec()); System....Assembly Product Solution GroupDocs...
Reading Photoshop Metadata properties The GroupDocs Metadata API allows the user to read Adobe Photoshop metadata associated with a PSD image. For more information on the Photoshop file format and metadata blocks 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 PSD image.
Load a PSD file Get the root metadata package Extract the ImageResourcePackage instance and obtain a list of ImageResourceBlock objects Iterate trough the collection of resource blocks AdvancedUsage....Assembly Product Solution GroupDocs...