Class XmpTrailerPi
Namespace: Aspose.Imaging.Xmp
Assembly: Aspose.Imaging.dll (25.2.0)
Represents XMP trailer processing instruction.
public sealed class XmpTrailerPi : IXmlValue, IEquatable<xmptrailerpi>
Inheritance
Implements
IXmlValue, IEquatable<xmptrailerpi>
Inherited Members
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Examples
Allowed forms of the trailer PI:
Remarks
The end=“w” or end=“r” portion shall be used by packet scanning processors to determine whether the XMP may be modified in-place.
Constructors
XmpTrailerPi(bool)
Initializes a new instance of the Aspose.Imaging.Xmp.XmpTrailerPi class.
public XmpTrailerPi(bool isWritable)
Parameters
isWritable
bool
Inditacates whether trailer is writable.
XmpTrailerPi()
Initializes a new instance of the Aspose.Imaging.Xmp.XmpTrailerPi class.
public XmpTrailerPi()
Properties
IsWritable
Gets or sets a value indicating whether this instance is writable.
public bool IsWritable { get; set; }
Property Value
Methods
Equals(XmpTrailerPi)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(XmpTrailerPi other)
Parameters
other
XmpTrailerPi
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 XML representation of XMP. </xmptrailerpi>