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...GroupDocs.Metadata Product Family / GroupDocs.Metadata for Java...
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 AviRootPackage.Header Read the AVI header properties AdvancedUsage.ManagingMetadataForSpecificFormats.Video.Avi.AviReadHeaderProperties
using (MetadataMetadata = new Metadata(Constants.InputAvi)) { var root = Metadata.GetRootPackage(); Console.WriteLine(root.Header.AviHeaderFlags); Console.WriteLine(root.Header.Height); Console.WriteLine(root.Header.Width); Console.WriteLine(root.Header.TotalFrames); Console.WriteLine(root.Header.InitialFrames); Console.WriteLine(root.Header.MaxBytesPerSec); Console.WriteLine(root.Header.PaddingGranularity); Console.WriteLine(root.Header.Streams); // ....Metadata Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for .NET...
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...
This article explains how to access EXIF Metadata in a file of any supported format....Metadata Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for .NET...
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...
Unlock the method to read Metadata from DOCX using C#. Elevate document organization efficiency by mastering the art of how to read Metadata of DOCX using C#....Metadata Product Family GroupDocs.Search...Redaction Product Family Read Metadata from DOCX using C# In today’s...
Detecting the GIF version The following sample of code will help you to detect the version of a loaded GIF image and extract some additional file format information.
Load a GIF image Extract the root Metadata package Use the getGifImageType method to obtain file format information advanced_usage.managing_Metadata_for_specific_formats.image.gif.GifReadFileFormatProperties
try (MetadataMetadata = new Metadata(Constants.InputGif)) { GifRootPackage root = Metadata.getRootPackageGeneric(); System.out.println(root.getGifImageType().getFileFormat()); System.out.println(root.getGifImageType().getVersion()); System.out.println(root.getGifImageType().getByteOrder()); System.out.println(root.getGifImageType().getMimeType()); System.out.println(root.getGifImageType().getExtension()); System.out.println(root.getGifImageType().getWidth()); System.out.println(root.getGifImageType().getHeight()); } Working with XMP Metadata GroupDocs....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 the FlvRootPackage.getHeader method Read the FLV header properties advanced_usage.managing_Metadata_for_specific_formats.video.flv.FlvReadHeaderProperties
try (MetadataMetadata = new Metadata(Constants.InputFlv)) { FlvRootPackage root = Metadata.getRootPackageGeneric(); System.out.println(root.getHeader().getVersion()); System.out.println(root.getHeader().hasAudioTags()); System.out.println(root.getHeader().hasVideoTags()); System.out.println(root.getHeader().getTypeFlags()); } Working with XMP Metadata GroupDocs....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...
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...