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.8.0+c1110cafb37403de0188424e1c97e84e318ca892
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