TFormer_SaveXml

Provide Data · String encodings

Definition

Windows: ANSI; Unix: UTF-8

ERRCODE TFormer_SaveXml(HTFORM pInstance, LPCSTR pszFileName);

Windows only: UTF-16

ERRCODE TFormer_SaveXmlW(HTFORM pInstance, LPCWSTR pszFileName);

Contract

Saves the actual JobData as XML file in the internal TFORMer format.

All DataFields set by TFormer_SetTxtDataFile, TFormer_SetXmlDataFile, TFormer_SetODBCData or by TFormer_SetVarValue are cached internally. This function writes the cache to the specified file which can the be used with TFormer_SetDataFile.

Returns

ErrOk (0) in case of success, non-zero if an error occurred

Parameters

Parameter / typeDescription
pInstanceHTFORM


The TFORMer instance provided by a previous call to TFormer_Init

pszFileNameLPCSTR / LPCWSTR


Target filename

Search documentation

Search in
More scopes
Additional scopes

All contents