TFormer_SetRepositoryName
Printing and Output · String encodings
Definition
Windows: ANSI; Unix: UTF-8
ERRCODE TFormer_SetRepositoryName(HTFORM pInstance, LPCSTR pszFileName);
Windows only: UTF-16
ERRCODE TFormer_SetRepositoryNameW(HTFORM pInstance, LPCWSTR pszFileName);
Contract
Sets the filename of the Repository or the filename of the stand-alone FormLayout for this Job.
Returns
ErrOk (0) in case of success, non-zero if an error occurred
Parameters
| Parameter / type | Description |
|---|---|
pInstanceHTFORM |
|
pszFileNameLPCSTR / LPCWSTR |
|
Use this method to provide either the filename of the Repository (*.tfr file) or the stand-alone FormLayout (*.tff file). If you are using a Repository you need to specify the Project (TFormer_SetProjectName) and the FormLayout (TFormer_SetFormName) as well.
See also
Note
When changing the Repository, the Project or the FormLayout all internal cached data is discarded.