Table of Contents

Class TrailerPath

Namespace
iText.Kernel.Utils.Objectpathitems
Assembly
itext.kernel.dll

Direct path item (see ObjectPath ), which describes transition to the trailer entry which value is now a currently comparing direct object.

public sealed class TrailerPath : ObjectPath
Inheritance
TrailerPath
Inherited Members

Constructors

TrailerPath(PdfDocument, PdfDocument)

Creates new TrailerPath instance with corresponding base objects in two documents.

public TrailerPath(PdfDocument cmpDoc, PdfDocument outDoc)

Parameters

cmpDoc PdfDocument

base object in the cmp document

outDoc PdfDocument

base object in the out document

TrailerPath(PdfDocument, PdfDocument, Stack<LocalPathItem>)

Creates new TrailerPath instance with corresponding base objects in two documents.

public TrailerPath(PdfDocument cmpDoc, PdfDocument outDoc, Stack<LocalPathItem> path)

Parameters

cmpDoc PdfDocument

base object in the cmp document

outDoc PdfDocument

base object in the out document

path Stack<LocalPathItem>

local path that denotes sequence of the path items from base object to the comparing direct object

TrailerPath(TrailerPath)

Creates new TrailerPath instance from another TrailerPath object, passed as argument.

public TrailerPath(TrailerPath trailerPath)

Parameters

trailerPath TrailerPath

TrailerPath to create new instance from

Methods

Equals(object)

Method returns true if this TrailerPath instance equals to the passed object.

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

true - if this TrailerPath instance equals to the passed object.

GetCmpDocument()

Method returns current cmp PdfDocument object.

public PdfDocument GetCmpDocument()

Returns

PdfDocument

current cmp PdfDocument object.

GetHashCode()

Method returns a hash code of this TrailerPath instance.

public override int GetHashCode()

Returns

int

a int hash code of this TrailerPath instance.

GetOutDocument()

Method returns current out PdfDocument object.

public PdfDocument GetOutDocument()

Returns

PdfDocument

current out PdfDocument object.

ToString()

Method returns a string representation of this TrailerPath instance.

public override string ToString()

Returns

string

a string representation of this TrailerPath instance.

ToXmlNode(XmlDocument)

Creates xml node that describes this TrailerPath instance.

public override XmlNode ToXmlNode(XmlDocument document)

Parameters

document XmlDocument

xml document, to which this xml node will be added.

Returns

XmlNode

xml node describing this TrailerPath instance.