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 / typeDescription
pInstanceHTFORM


The TFORMer instance provided by a previous call to TFormer_Init

pszFilenameLPCSTR / LPCWSTR


Path and filename of a TFORMer configuration file

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.

See also

TFormer_Print

Search documentation

Search in
More scopes
Additional scopes

All contents