Skip to main content

Class PdfValidatorOptions

Namespace: AdCodicem.Pdf.Validation
Assembly: AdCodicem.Pdf.dll

Controls how a PdfValidator validates documents.

public sealed record PdfValidatorOptions : IEquatable<PdfValidatorOptions>

Inheritance​

object ← PdfValidatorOptions

Implements​

IEquatable<PdfValidatorOptions>

Inherited Members​

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Properties​

Default​

The options used when none are supplied.

public static PdfValidatorOptions Default { get; }

Property Value​

PdfValidatorOptions

FindingCapacity​

Gets the largest number of findings a report keeps. A pathological file can have a fault in every object; beyond this number findings are counted but not kept. Defaults to 1,000; zero keeps none and still counts them.

public int FindingCapacity { get; init; }

Property Value​

int

Exceptions​

ArgumentOutOfRangeException

The value is negative.

Profile​

Gets the profile documents are validated against. Defaults to ValidationProfile.Structural.

public ValidationProfile Profile { get; init; }

Property Value​

ValidationProfile