TPDFlibComparisonBatchRun

Data types, document comparison

Description

Runs one batch workflow on behalf of a library instance. Unlike the other dispatch callbacks this one receives the instance as a parameter and is not bound to one.

TPDFlib declares the public methods and a protected dispatch method for the batch workflows that take one JSON request. 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_SMALLBUSINESS_REQUIRED. Application code never declares, assigns or calls a value of this type.

Syntax

Delphi

TPDFlibComparisonBatchRun = Function(Lib: TPDFlib; Const RequestJSON: WideString): WideString;

Parameters

LibLibrary instance that executes the batch
RequestJSONJSON request; a jobs array of 1 through 64 entries in the format of the selected workflow

Return values

J

See also

TPDFlibComparisonBatchKind, CompareTextBaselineBatch, ConvertFilesBatch