TPDFlibValidationRun

Data types, compliance

Description

Runs one task on a validation pipeline for the pipeline task methods.

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 of this type. 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, assigns or calls a value of this type.

Syntax

Delphi

TPDFlibValidationRun = Function(Action: TPDFlibValidationAction;
  PipelineID, Test, Options, ReportFormat: Integer): TPDFlibValidationResult Of Object;

Parameters

ActionTask to run; one of the values of TPDFlibValidationAction
PipelineIDIdentifier returned by one of the BeginValidationPipeline methods
TestCompliance test for vpaRun, target part for vpaRunPDFUA and test bit mask for vpaReport; 0 otherwise
Options0 collects every finding, 1 stops each audit at its first finding; 0 otherwise
ReportFormat0 produces XML, 1 JSON; only for vpaReport

Return values

`

See also

TPDFlibValidationAction, TPDFlibValidationResult, TPDFlibValidationOpen, CreateValidationPipelineReport