PdfComparisonOptions Class

The options of PdfDocumentComparer.

public sealed class PdfComparisonOptions

Constructors

NameDescription
PdfComparisonOptions()

PdfComparisonOptions()

PdfComparisonOptions.cs
public PdfComparisonOptions()

No documentation is available.

Properties

NameDescription
DefaultGets the default options.
MaxDetailsGets the most details given for each kind of change of a page. The default is 20.
ToleranceGets the distance, in points, below which two positions are the same. The default is 0.5.

Gets the default options.

public static PdfComparisonOptions Default { get; }

Property value

PdfComparisonOptions

Gets the most details given for each kind of change of a page. The default is 20.

public int MaxDetails { get; init; }

Property value

int

Exceptions

ArgumentOutOfRangeException
The value is negative.

Gets the distance, in points, below which two positions are the same. The default is 0.5.

public double Tolerance { get; init; }

Property value

double

Exceptions

ArgumentOutOfRangeException
The value is negative.