Class XmpMeta
Namespace: Aspose.Imaging.Xmp
Assembly: Aspose.Imaging.dll (25.2.0)
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
object ← XmpElementBase ← XmpMeta
Implements
IEquatable<xmpelementbase>, IXmlValue, IEquatable<xmpmeta>
Inherited Members
XmpElementBase.AddAttribute(string, string), XmpElementBase.GetAttribute(string), XmpElementBase.ClearAttributes(), XmpElementBase.Equals(XmpElementBase), XmpElementBase.Equals(object), XmpElementBase.GetHashCode(), object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
XmpMeta(string)
Initializes a new instance of the Aspose.Imaging.Xmp.XmpMeta class.
public XmpMeta(string toolkitVersion)
Parameters
toolkitVersion
string
Adobe XMP toolkit version.
XmpMeta()
Initializes a new instance of the Aspose.Imaging.Xmp.XmpMeta class.
public XmpMeta()
Properties
AdobeXmpToolkit
Gets or set Adobe Xmp toolkit version.
public string AdobeXmpToolkit { get; set; }
Property Value
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
true if the current object is equal to the other
parameter; otherwise, false.
Equals(object)
Determines whether the specified System.Object, is equal to this instance.
public override bool Equals(object other)
Parameters
other
object
The System.Object to compare with this instance.
Returns
true
if the specified System.Object is equal to this instance; otherwise, false
.
GetHashCode()
Returns a hash code for this instance.
public override int GetHashCode()
Returns
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
Returns the XMP value converted to the XML representation. </xmpmeta></xmpelementbase>