Class XmpHeaderPi
Namespace: Aspose.Imaging.Xmp
Assembly: Aspose.Imaging.dll (25.2.0)
Represents XMP header processing instruction.
public sealed class XmpHeaderPi : IXmlValue, IEquatable<xmpheaderpi>
Inheritance
Implements
IXmlValue, IEquatable<xmpheaderpi>
Inherited Members
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Examples
Constructors
XmpHeaderPi()
Initializes a new instance of the Aspose.Imaging.Xmp.XmpHeaderPi class.
public XmpHeaderPi()
XmpHeaderPi(string)
Initializes a new instance of the Aspose.Imaging.Xmp.XmpHeaderPi class.
public XmpHeaderPi(string guid)
Parameters
guid
string
The unique identifier.
Properties
Guid
Represents Header Guid.
public string Guid { get; set; }
Property Value
Remarks
The text of the header PI contains a GUID, making it unlikely to appear by accident in the data stream.
Methods
Equals(XmpHeaderPi)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(XmpHeaderPi other)
Parameters
other
XmpHeaderPi
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 obj)
Parameters
obj
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. </xmpheaderpi>