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.5.0+84bd4d36da7e2449ee09fddee89e23a99b6ffcca
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