Table of Contents

Interface IValidationChecker

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

Used to check if a PDF document is compliant to a specific validation profile.

public interface IValidationChecker

Methods

ValidateDocument(ValidationContext)

Validate the provided ValidationContext.

void ValidateDocument(ValidationContext validationContext)

Parameters

validationContext ValidationContext

the ValidationContext to validate

Remarks

Validate the provided ValidationContext.

This method is called by the Close() to check for additional conformance requirements.

ValidateObject(object, IsoKey, PdfResources, PdfStream, object)

Check the provided object for conformance.

void ValidateObject(object obj, IsoKey key, PdfResources resources, PdfStream contentStream, object extra)

Parameters

obj object

the object to check

key IsoKey

the IsoKey of the object

resources PdfResources

the PdfResources of the object

contentStream PdfStream

the PdfStream of the object

extra object

additional information

Remarks

Check the provided object for conformance.

This method is called by the CheckIsoConformance(object, IsoKey, PdfResources, PdfStream, object) to check for additional conformance requirements.