TFormer_SetDataFile
Provide Data · String encodings
Definition
Windows: ANSI; Unix: UTF-8
ERRCODE TFormer_SetDataFile(HTFORM pInstance, LPCSTR pszFileName);
Windows only: UTF-16
ERRCODE TFormer_SetDataFileW(HTFORM pInstance, LPCWSTR pszFileName);
Contract
Sets a XML file (in the format used internally by TFORMer) as JobData.
The specified file conform to the internal TFORMer format and is created with the function TFormer_SaveXml. Normally this function is not required by users.
Returns
ErrOk (0) in case of success, non-zero if an error occurred
Parameters
| Parameter / type | Description |
|---|---|
pInstanceHTFORM |
|
pszFileNameLPCSTR / LPCWSTR |
|
Remark
Instead, check out the functions TFormer_SetTxtDataFile, TFormer_SetXmlDataFile or TFormer_SetODBCData.