Table of Contents

Class XmpTrailerPi

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

Represents XMP trailer processing instruction.

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

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()

Initializes a new instance of the XmpTrailerPi class.

public XmpTrailerPi()

XmpTrailerPi(bool)

Initializes a new instance of the XmpTrailerPi class.

public XmpTrailerPi(bool isWritable)

Parameters

isWritable bool

Inditacates whether trailer is writable.

Properties

IsWritable

Gets or sets a value indicating whether this instance is writable.

public bool IsWritable { get; set; }

Property Value

bool

true if this instance is writable; otherwise, false.

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

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 obj)

Parameters

obj 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 XML representation of XMP.