TFormer_SetPageFromTo

Printing and Output

Definition

ERRCODE TFormer_SetPageFromTo(HTFORM pInstance, UINT nPageFrom, UINT nPageTo);

Contract

Sets the range of page-numbers to be the printed.

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

nPageFromUINT


Starting page of print-job (all pages with smaller page numbers are not printed, default is 1)

nPageToUINT


Ending page of print-job (all pages with higher page numbers are not printed, default is UINT_MAX, or 0xffffffff)

Remark

If required this function must be called before TFormer_Print. To restore this setting (printing of all pages of the job), call the following command:

TFormer_SetPageFromTo (pInstance, 0, 0);

See also

TFormer_Print

Search documentation

Search in
More scopes
Additional scopes

All contents