TPDFlibVCRMergeTarget

Data types, variable content

Description

Selects which PDF/VCR merge a dispatched call stands for. The value decides whether the TPDFlibVCRFileMerge or the TPDFlibVCRCurrentMerge callback receives the call.

TPDFlib declares the public methods and a protected dispatch method for the variable content replacement merge of PDF/VCR templates. 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_SMALLBUSINESS_REQUIRED. Application code never passes a value of this type.

Syntax

Delphi

type TPDFlibVCRMergeTarget = (vcmFile, vcmCurrent);

Values

vcmFileMerge of an external template into a new output file; the operation behind ExecuteVCRDataMerge
vcmCurrentMerge into the selected template document, whose result becomes the selected document; the operation behind ExecuteVCRDataMergeCurrent

See also

TPDFlibVCRFileMerge, TPDFlibVCRCurrentMerge, TPDFlibVCRMergeBatchRun, ExecuteVCRDataMerge