PdfComparisonResult Class

public sealed class PdfComparisonResult

Properties

NameDescription
AreEquivalentGets a value indicating whether the documents show the same elements.
PagesGets the comparison of each page, in the order of the pages.

Gets a value indicating whether the documents show the same elements.

public bool AreEquivalent { get; }

Property value

bool

Gets the comparison of each page, in the order of the pages.

public IReadOnlyList<PdfPageComparison> Pages { get; }

Methods

NameDescription
ToString()Writes the changes as a readable diff: a header per page that changed, then its details.

Writes the changes as a readable diff: a header per page that changed, then its details.

public override string ToString()

Returns

string The diff, or an empty string when nothing changed.