Class XmpPacketWrapper

XmpPacketWrapper class

Contains serialized xmp package including header and trailer.

public class XmpPacketWrapper : IXmlValue

Constructors

NameDescription
XmpPacketWrapper()Initializes a new instance of the XmpPacketWrapper class.
XmpPacketWrapper(XmpHeaderPi, XmpTrailerPi, XmpMeta)Initializes a new instance of the XmpPacketWrapper class.

Properties

NameDescription
HeaderPi { get; }Gets the header processing instruction.
Meta { get; set; }Gets the XMP meta. Optional.
Packages { get; }Gets array of XmpPackage inside XMP.
PackagesCount { get; }Gets amount of packages inside XMP structure.
TrailerPi { get; }Gets the trailer processing instruction.

Methods

NameDescription
AddPackage(XmpPackage)Adds the package.
ClearPackages()Removes all XmpPackage inside XMP.
ContainsPackage(string)Determines whethere package is exist in xmp wrapper.
GetPackage(string)Gets package by namespace URI.
GetXmlValue()Converts XMP value to the XML representation.
RemovePackage(XmpPackage)Removes the XMP package.
override ToString()Returns an XML string that represents the current object.

Remarks

A wrapper consisting of a pair of XML processing instructions (PIs) may be placed around the rdf:RDF element.

See Also