TFormer_SetPrintOptions

Printing and Output · String encodings

Definition

Windows: ANSI; Unix: UTF-8

ERRCODE TFormer_SetPrintOptions(HTFORM pInstance, LPCSTR pszOptions);

Windows only: UTF-16

ERRCODE TFormer_SetPrintOptionsW(HTFORM pInstance, LPCWSTR pszOptions);

Contract

Sets additional options for printing and output generation.

If required this function must be called before TFormer_Print. The options are applied to internal structures inside TFormer_Print, and are restored afterwards.

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

pszOptionsLPCSTR / LPCWSTR


The option string, for example resolution=300 for image output. See Print Options for supported options and string syntax.

See also

Print Options

See also

TFormer_Print

Search documentation

Search in
More scopes
Additional scopes

All contents