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 standard JSON string escapes, including Unicode escapes; an explicit empty string clears its placeholder, while an absent field leaves its placeholder unchanged; failed merges preserve an existing output file

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