Sets the configuration file for TFORMer Runtime.
- Returns:
- - ErrOk (0) in case of success
- Non-zero if error occurred
- Parameters:
-
[in] | pInstance | The TFORMer-Instance provided by a previous call to TFormer_Init. |
[in] | pszFilename | Path and filename of a TFORMer configuration file |
If no XML file is specified using this function,
TFormer_Print will use the default configuration file.
- Note:
- The configuration file
TFORMer.xml
may be passed in the following ways:
- Specify the filename directly.
- Specify the filename of a ZIP-file (e.g. with WinZip) containing the required file.
- BASE64-encode the content of the required file (see Convert class of .NET) and use this string instead of a filename.
- BASE64-encode the content of a ZIP-file (see Convert class of .NET) containing the required file(s). Use this string instead of a filename.
- Note:
- BASE64 encoded strings must start with the sequence
BASE64:
. When passing a zipped file TFORMer expects a real WinZip compatible format. A zipped stream is not suitable! For more details please refer to the TFORMer Runtime DLL Programming Reference.
- See also:
- TFormer_Print