XmpSchemes Class
Provides access to known XMP schemes.
Inheritance Hierarchy
SystemObject
  GroupDocs.Metadata.Standards.XmpXmpSchemes

Namespace: GroupDocs.Metadata.Standards.Xmp
Assembly: GroupDocs.Metadata (in GroupDocs.Metadata.dll) Version: 21.8
Syntax
public sealed class XmpSchemes

The XmpSchemes type exposes the following members.

Properties
  NameDescription
Public propertyBasicJobTicket
Gets or sets the BasicJobTicket scheme.
Public propertyCameraRaw
Gets or sets the Camera Raw scheme.
Public propertyDublinCore
Gets or sets the Dublin Core scheme.
Public propertyPagedText
Gets or sets the PagedText scheme.
Public propertyPdf
Gets or sets the PDF scheme.
Public propertyPhotoshop
Gets or sets the Photoshop scheme.
Public propertyXmpBasic
Gets or sets the XmpBasic scheme.
Public propertyXmpDynamicMedia
Gets or sets the XmpDynamicMedia scheme.
Public propertyXmpMediaManagement
Gets or sets the XmpMediaManagement schema.
Public propertyXmpRightsManagement
Gets or sets the XmpRightsManagement schema.
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)
Examples
This example demonstrates how to extract XMP metadata from a file.
C#
using (Metadata metadata = new Metadata(Constants.PngWithXmp))
{
    IXmp root = metadata.GetRootPackage() as IXmp;
    if (root != null && root.XmpPackage != null)
    {
        if (root.XmpPackage.Schemes.XmpBasic != null)
        {
            Console.WriteLine(root.XmpPackage.Schemes.XmpBasic.CreatorTool);
            Console.WriteLine(root.XmpPackage.Schemes.XmpBasic.CreateDate);
            Console.WriteLine(root.XmpPackage.Schemes.XmpBasic.ModifyDate);
            Console.WriteLine(root.XmpPackage.Schemes.XmpBasic.Label);
            Console.WriteLine(root.XmpPackage.Schemes.XmpBasic.Nickname);

            // ...
        }

        if (root.XmpPackage.Schemes.DublinCore != null)
        {
            Console.WriteLine(root.XmpPackage.Schemes.DublinCore.Format);
            Console.WriteLine(root.XmpPackage.Schemes.DublinCore.Coverage);
            Console.WriteLine(root.XmpPackage.Schemes.DublinCore.Identifier);
            Console.WriteLine(root.XmpPackage.Schemes.DublinCore.Source);

            // ...
        }

        if (root.XmpPackage.Schemes.Photoshop != null)
        {
            Console.WriteLine(root.XmpPackage.Schemes.Photoshop.ColorMode);
            Console.WriteLine(root.XmpPackage.Schemes.Photoshop.IccProfile);
            Console.WriteLine(root.XmpPackage.Schemes.Photoshop.Country);
            Console.WriteLine(root.XmpPackage.Schemes.Photoshop.City);
            Console.WriteLine(root.XmpPackage.Schemes.Photoshop.DateCreated);

            // ... 
        }

        // ...
    }
}
See Also