Click or drag to resize
Pdftools logo

ValidatorAnalyze Method

Analyze a PDF document in preparation for its conversion to PDF/A.

This method validates the document's standards conformance like Validate(Document, ValidationOptions). In addition to that, certain additional checks can be performed. However, the main difference is that the analysis result can be used in Convert(AnalysisResult, Document, Stream, ConversionOptions, OutputOptions) to convert the PDF document to PDF/A.

Namespace: PdfTools.PdfA.Validation
Assembly: PdfTools (in PdfTools.dll) Version: 1.10.0+8a8a96de3867b60fd3fc0089ea1028db6add63f1
Syntax
C#
public AnalysisResult Analyze(
	Document document,
	AnalysisOptions options = null
)

Parameters

document  Document
The document to analyze
options  AnalysisOptions  (Optional)
The options or for default analysis options

Return Value

AnalysisResult
The result of the analysis
Exceptions
ExceptionCondition
LicenseExceptionThe license check has failed.
ArgumentExceptionThe conformance of the options argument is not PDF/A.
ArgumentNullExceptionif document is .
See Also