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.4.0+fc8bb87ea2616e7f35d94e0588d333abae862a7a
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