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.7.0+cfcc11b476b3e1eb4320f0f37269191f64e36bd8
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