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...GroupDocs.Metadata Product Family / GroupDocs.Metadata for .NET...
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 advanced_usage....Metadata Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for Java...
Reading FLV header properties The GroupDocs.Metadata API supports extracting format-specific information from the FLV file header.
The following are the steps to read the header of an FLV file.
Load an FLV video Get the root Metadata package Extract the native Metadata package using FlvRootPackage.Header Read the FLV header properties AdvancedUsage.ManagingMetadataForSpecificFormats.Video.Flv.FlvReadHeaderProperties
using (MetadataMetadata = new Metadata(Constants.InputFlv)) { var root = Metadata.GetRootPackage(); Console.WriteLine(root.Header.Version); Console.WriteLine(root.Header.HasAudioTags); Console.WriteLine(root.Header.HasVideoTags); Console.WriteLine(root.Header.TypeFlags); } Working with XMP Metadata GroupDocs....Metadata Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for .NET...
Reading JPEG2000 comments The GroupDocs.Metadata API supports extracting format-specific information from JPEG2000 images.
The following are the steps to read the JPEG2000 comments (pieces of Metadata represented as strings with the length up to 64 kbytes).
Load a JPEG2000 image Get the root Metadata package Extract the native Metadata package using Jpeg2000RootPackage.Jpeg2000Package Read the JPEG2000 comments AdvancedUsage.ManagingMetadataForSpecificFormats.Image.Jpeg2000.Jpeg2000ReadComments
using (MetadataMetadata = new Metadata(Constants.InputJpeg2000)) { var root = Metadata.GetRootPackage(); if (root....Metadata Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for .NET...
GroupDocs.Metadata for .NET version 1.7 is available now. Code is redefined by decreasing number of namespaces for easy integration. One major enhancement is support for MP3 format. So Management of audio format Metadata is more easy with this release.
Metadata API extended features MP3 format supported - Detect MP3 format Reading ID3v1 Tag Reading ID3v2 Tag Get MPEG Audio format Information Read all EXIF tags Get specific EXIF tag by specific key or indexer ....Metadata for .NET version 1.7 is available now. Code...MP3 format. So management of audio format metadata is more easy...
This article explains about the API supports extracting Metadata from WAV files...Metadata Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for .NET...
GroupDocs.Metadata for Java provides functionality that allows working with different kinds of spreadsheet formats such as XLS, XLSX, ODS, etc. For the full list of supported document formats please refer to Supported document formats.
Detecting the exact type of a document The following sample of code will help you to detect the exact type of a loaded spreadsheet and extract some additional file format information.
Load a Spreadsheet document Extract the root Metadata package Use the getSpreadsheetType method to obtain file format information advanced_usage....Metadata Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for Java...
Discover how to read Metadata from XLSX using Java without the need of additional software. You will be given a code example to read Metadata of XLSX using Java....Metadata Product Family GroupDocs.Search...Redaction Product Family Read Metadata from XLSX using Java In contemporary...
Reading PNG Metadata properties The GroupDocs.Metadata API supports extracting format-specific information from PNG images.
The following are the steps to read the native PNG Metadata.
Load a PNG image Get the root Metadata package Extract the native Metadata package using PngRootPackage.getPngPackage Read the PNG Metadata properties advanced_usage.managing_Metadata_for_specific_formats.image.png.PngReadTextChunks
try (MetadataMetadata = new Metadata(Constants.InputPng)) { PngRootPackage root = Metadata.getRootPackageGeneric(); for (PngTextChunk chunk : root.getPngPackage().getTextChunks()) { System.out.println(chunk.getKeyword()); System.out.println(chunk.getText()); if (chunk instanceof PngCompressedTextChunk) { PngCompressedTextChunk compressedChunk = (PngCompressedTextChunk) chunk; System....Metadata Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for Java...
Access, read, update, add custom packages, and remove XMP Metadata using GroupDocs.Metadata for Python via .NET....Metadata Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for Python...