TFormer_SetConfigFile
Printing and Output · String encodings
Definition
Windows: ANSI; Unix: UTF-8
ERRCODE TFormer_SetConfigFile(HTFORM pInstance, LPCSTR pszFilename);
Windows only: UTF-16
ERRCODE TFormer_SetConfigFileW(HTFORM pInstance, LPCWSTR pszFilename);
Contract
Sets the configuration file for TFORMer SDK.
Returns
ErrOk (0) in case of success, non-zero if an error occurred
Parameters
| Parameter / type | Description |
|---|---|
pInstanceHTFORM |
|
pszFilenameLPCSTR / LPCWSTR |
|
See also
Remark
If no file is specified using this function, TFormer_Print will use the default configuration file.
Note
The configuration file may be passed as file or as BASE64 stream to TFORMer SDK. Refer to Passing Files for details.