ExecuteVCRDataMergeEx

Integration and compatibility

Requires the Small Business edition. In Delphi, C++Builder and Lazarus code create the library as TPDFlibSmallBusiness (unit PDFlibSmallBusiness) or TPDFlibEnterprise; the Small Business and Enterprise DLL and ActiveX builds provide it unchanged. The Single edition keeps the method, which returns 0 and sets LastErrorCode to 901 (PDFLIB_ERROR_SMALLBUSINESS_REQUIRED)

Description

DLL and ActiveX form of the external-file PDF/VCR merge

JSON field names and values use the standard JSON string escapes, Unicode escapes included; an explicit empty string clears its placeholder, whereas a field that is left out keeps its placeholder as it is; a failed merge leaves any existing output file intact

Syntax

ActiveX

Function PDFlib::ExecuteVCRDataMergeEx(InputFileName As String, Password As String, FieldValues As String, OutputFileName As String) As Long

Available on IPDFlibrary2 from type library version 3.3

DLL

int DLExecuteVCRDataMergeEx(int InstanceID, const wchar_t* InputFileName, const wchar_t* Password, const wchar_t* FieldValues, const wchar_t* OutputFileName);
int DLExecuteVCRDataMergeExA(int InstanceID, const char* InputFileName, const char* Password, const char* FieldValues, const char* OutputFileName);

Remarks

Forwards the Delphi ExecuteVCRDataMerge external-file overload with the same arguments and return values

See also

ExecuteVCRDataMergeCurrent, Automation extensions