This class represents an XMP tree.
Namespace:
Aurigma.GraphicsMill.Codecs
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
<DefaultMemberAttribute("Item")> _ Public NotInheritable Class XmpData _ Inherits LockableObject _ Implements IXmpDictionary
[DefaultMemberAttribute("Item")] public sealed class XmpData : LockableObject, IXmpDictionary
This class can be used for two purposes:
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).