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.6.0+e1db8f4bf6125495a2d29513486ea3e61205c81b
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