TPDFlibValidationResult
Data types, compliance
Description
Carries the outcome of one validation pipeline task back to the public method. Tasks that return a number or a handle read Value, the report reads Report.
TPDFlib declares the public methods and a protected dispatch method for running tasks on a reusable validation pipeline. The edition class supplies the implementation as a callback, and this record is what that callback returns. A plain TPDFlib instance supplies none, so the call returns the documented empty result and sets LastErrorCode to PDFLIB_ERROR_ENTERPRISE_REQUIRED. Application code never declares a value of this type.
Syntax
Delphi
TPDFlibValidationResult = record
Value: Integer;
Report: WideString;
end;Fields
| Value | Result of the task: a string-list identifier with the findings, a parse count, or a release result |
|---|---|
| Report | Combined validation report as XML or JSON, filled for vpaReport |
See also
TPDFlibValidationAction, TPDFlibValidationRun, CreateValidationPipelineReport