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.11.1+7e91adfd8b3958b0a599c3b63ff35d8a15e95be7
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