TCustomRVPrint.MaxPrintedItemNo

<< Click to display table of contents >>

TCustomRVPrint.MaxPrintedItemNo

Defines the index of the last item to print.

property MaxPrintedItemNo: Integer;

(Introduced in version 13)

The component prints items from MinPrintedItemNo to MaxPrintedItemNo. By default, this range includes all items.

The value -1 is treated like ItemCount-1, i.e. the document is printed to the end.

Items outside of this range are not printed (but they still occupy their spaces). The pages that do not contain items in this range are skipped (the component prints pages from FirstPageNo to LastPageNo).

These properties allow implementing an incremental printing: when the next portion of the document is ready, it can be printed below the previously printed fragment. This feature can be used for printing accounting journals, logs, etc.

Default value:

-1