Click or drag to resize
Pdftools logo

ValidatorValidate Method

Validate the standards conformance of a PDF document.


Namespace: PdfTools.PdfA.Validation
Assembly: PdfTools (in PdfTools.dll) Version: 1.5.0+84bd4d36da7e2449ee09fddee89e23a99b6ffcca
Syntax
C#
public ValidationResult Validate(
	Document document,
	ValidationOptions options = null
)

Parameters

document  Document
The document to check the quality of
options  ValidationOptions  (Optional)
The options or for default validation options

Return Value

ValidationResult
The result of the validation
Exceptions
ExceptionCondition
LicenseExceptionThe license check has failed.
ProcessingExceptionThe processing has failed.
ArgumentNullExceptionif document is .
See Also