TPDFlibValidationInput

Data types, compliance

Description

Selects where a dispatched call reads the PDF of a validation pipeline from. The value travels with the Input parameter of the TPDFlibValidationOpen callback.

TPDFlib declares the public methods and a protected dispatch method for opening a reusable validation pipeline. The edition class supplies the implementation as a callback, and this value tells the callback which public method is calling. 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 passes a value of this type.

Syntax

Delphi

type TPDFlibValidationInput = (vpiFile, vpiStream, vpiBuffer);

Values

vpiFilePDF file on disk; the operation behind BeginValidationPipeline
vpiStreamCaller-owned stream; the operation behind BeginValidationPipelineFromStream
vpiBufferBytes in memory; the operation behind BeginValidationPipelineFromBuffer

See also

TPDFlibValidationOpen, TPDFlibValidationAction, TPDFlibValidationRun, BeginValidationPipeline