This documentation is for the old version. Go to the latest Graphics Mill docs

XmpData Class

This class represents an XMP tree.

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

Syntax

Visual Basic
<DefaultMemberAttribute("Item")> _
Public NotInheritable Class XmpData _
	Inherits LockableObject _
	Implements IXmpDictionary
C#
[DefaultMemberAttribute("Item")]
public sealed class XmpData : LockableObject, IXmpDictionary

Remarks

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

System.Object
L Aurigma.GraphicsMill.LockableObject
L Aurigma.GraphicsMill.Codecs.XmpData

Thread Safety

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

Object Model





See Also

Reference