XmpData Class

Represents an XMP tree.

Namespace: Aurigma.GraphicsMill.Codecs
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)


public sealed class XmpData : IXmpDictionary


This class can be used for two purposes:

  1. Parse XMP data and extract the specific fields values (nodes).
  2. Build or modify existing XMP tree by adding/removing/editing nodes.

XMP is an XML-based tree-like format of metadata storage. This class allows to load XML containing XMP data (with a constructor or the Load(String) method). After the XMP string is loaded, a hierarchical set of nodes is formed. You can iterate each node in the Values collection and drill down into its children to get information about some specific node.

To add nodes to this tree, use the AddNode(XmpNode) method. Any object that is a descendant of the XmpNode class can be added to the tree. Items are removed with the Remove(Object) method. After you build a tree of XMP fields, you can get it as an XML string which can be passed to any writer object that supports XMP data (JPEG, TIFF).

Inheritance Hierarchy

L Aurigma.GraphicsMill.Codecs.XmpData

Thread Safety

Static members of this type are not safe for multi-threaded operations. Instance members of this type are not safe for multi-threaded operations.

See Also