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.8.0+c1110cafb37403de0188424e1c97e84e318ca892
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