Table of Contents

Class XmpMeta

Namespace
Aspose.Imaging.Xmp
Assembly
Aspose.Imaging.dll

Represents xmpmeta. Optional. The purpose of this element is to identify XMP metadata within general XML text that might contain other non-XMP uses of RDF.

public sealed class XmpMeta : XmpElementBase, IEquatable<XmpElementBase>, IXmlValue, IEquatable<XmpMeta>
Inheritance
XmpMeta
Implements
Inherited Members

Constructors

XmpMeta()

Initializes a new instance of the XmpMeta class.

public XmpMeta()

XmpMeta(string)

Initializes a new instance of the XmpMeta class.

public XmpMeta(string toolkitVersion)

Parameters

toolkitVersion string

Adobe XMP toolkit version.

Properties

AdobeXmpToolkit

Gets or set Adobe Xmp toolkit version.

public string AdobeXmpToolkit { get; set; }

Property Value

string

Methods

AddAttribute(string, string)

Adds the attribute.

public override void AddAttribute(string attribute, string value)

Parameters

attribute string

The attribute.

value string

The value.

Equals(XmpMeta)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(XmpMeta other)

Parameters

other XmpMeta

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object)

Determines whether the specified object, is equal to this instance.

public override bool Equals(object other)

Parameters

other object

The object to compare with this instance.

Returns

bool

true if the specified object is equal to this instance; otherwise, false.

GetHashCode()

Returns a hash code for this instance.

public override int GetHashCode()

Returns

int

A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

GetXmlValue()

Converts XMP value to the XML representation.

public string GetXmlValue()

Returns

string

Returns the XMP value converted to the XML representation.