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


The TFORMer instance provided by a previous call to TFormer_Init

pszFileNameLPCSTR / LPCWSTR


Filename of the Repository or the stand-alone FormLayout

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.

Note

When changing the Repository, the Project or the FormLayout all internal cached data is discarded.

Search documentation

Search in
More scopes
Additional scopes

All contents