This article shows how to access XMP Metadata in a file of any supported format....Metadata Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for .NET...
The GroupDocs Metadata API provides the feature to read basic Metadata in CAD files. The supported CAD formats are:
DWG DXF Reading CAD Metadata To access Metadata in a CAD drawing, the GroupDocs.Metadata API provides the CadRootPackage.getCadPackage method.
The following code snippet reads Metadata associated with a CAD file.
advanced_usage.managing_Metadata_for_specific_formats.cad.CadReadNativeMetadataProperties
try (MetadataMetadata = new Metadata(Constants.InputDxf)) { CadRootPackage root = Metadata.getRootPackageGeneric(); System.out.println(root.getCadPackage().getAcadVersion()); System.out.println(root.getCadPackage().getAuthor()); System.out.println(root.getCadPackage().getComments()); System.out.println(root.getCadPackage().getCreatedDateTime()); System.out.println(root.getCadPackage().getHyperlinkBase()); System.out.println(root.getCadPackage().getKeywords()); System.out.println(root.getCadPackage().getLastSavedBy()); System.out.println(root.getCadPackage().getTitle()); // ....Metadata Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for Java...
Reading DICOM Metadata properties The GroupDocs.Metadata API supports extracting format-specific information from DICOM images.
The following are the steps to read the native DICOM Metadata.
Load a DICOM image Get the root Metadata package Extract the native Metadata package using the DicomRootPackage.getDicomPackage method Read the DICOM Metadata properties examples.advanced_usage.managing_Metadata_for_specific_formats.image.dicom.DicomReadNativeMetadataProperties
try (MetadataMetadata = new Metadata(Constants.InputDicom)) { DicomRootPackage root = Metadata.getRootPackageGeneric(); if (root.getDicomPackage() != null) { System.out.println(root.getDicomPackage().getBitsAllocated()); System.out.println(root.getDicomPackage().getReds()); System.out.println(root.getDicomPackage().getGreens()); System.out.println(root.getDicomPackage().getBlues()); 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...
Learn how to read Metadata from PDF using C# without requiring extra software installation. Delve into a code sample demonstrating how to read Metadata of PDF using C#....Metadata Product Family GroupDocs.Search...Family Read Metadata from PDF using C# Metadata in PDF files...
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 FileType property to obtain file format information AdvancedUsage.ManagingMetadataForSpecificFormats.Image.Gif.GifReadFileFormatProperties
using (MetadataMetadata = new Metadata(Constants.InputGif)) { var root = Metadata.GetRootPackage(); Console.WriteLine(root.FileType.FileFormat); Console.WriteLine(root.FileType.Version); Console.WriteLine(root.FileType.ByteOrder); Console.WriteLine(root.FileType.MimeType); Console.WriteLine(root.FileType.Extension); Console.WriteLine(root.FileType.Width); Console.WriteLine(root.FileType.Height); } Working with XMP Metadata GroupDocs....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 diagrams such as VDX, VSDX, VSX, 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 diagram and extract some additional file format information.
Load a PDF document Extract the root Metadata package Use the getDiagramType method to obtain file format information advanced_usage....Metadata Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for Java...
Discover how to utilize GroupDocs.Metadata for Node.js to extract, update and remove Metadata in your applications....Український Tiếng Việt 中文 中國傳統的 Managingmetadata is an important part of...we will look at how to managemetadata in Node.js applications...
Reading BMP header properties The GroupDocs.Metadata API supports extracting format-specific information from BMP file headers.
The following are the steps to read the header of a BMP file.
Load a BMP image Get the root Metadata package Extract the native Metadata package using the BmpRootPackage.getBmpHeader method Read the BMP header properties advanced_usage.managing_Metadata_for_specific_formats.image.bmp.BmpReadHeaderProperties
try (MetadataMetadata = new Metadata(Constants.InputBmp)) { BmpRootPackage root = Metadata.getRootPackageGeneric(); System.out.println(root.getBmpHeader().getBitsPerPixel()); System.out.println(root.getBmpHeader().getColorsImportant()); System.out.println(root.getBmpHeader().getHeaderSize()); System.out.println(root.getBmpHeader().getImageSize()); System.out.println(root.getBmpHeader().getPlanes()); } More resources GitHub examples You may easily run the code above and see the feature in action in our GitHub examples:...Metadata Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for Java...
Reading BMP header properties The GroupDocs.Metadata API supports extracting format-specific information from BMP file headers.
The following are the steps to read the header of a BMP file.
Load a BMP image Get the root Metadata package Extract the native Metadata package using BmpRootPackage.BmpHeader Read the BMP header properties AdvancedUsage.ManagingMetadataForSpecificFormats.Image.Bmp.BmpReadHeaderProperties
using (MetadataMetadata = new Metadata(Constants.InputBmp)) { var root = Metadata.GetRootPackage(); Console.WriteLine(root.BmpHeader.BitsPerPixel); Console.WriteLine(root.BmpHeader.ColorsImportant); Console.WriteLine(root.BmpHeader.HeaderSize); Console.WriteLine(root.BmpHeader.ImageSize); Console.WriteLine(root.BmpHeader.Planes); } More resources GitHub examples You may easily run the code above and see the feature in action in our GitHub examples:...Metadata Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for .NET...