rvico TRichView Reference | TCustomRVPrint

TCustomRVPrint.LastPageNo (read-only)

Top  Previous  Next

Returns the index of the last page that will be printed, from 1.

property LastPageNo: Integer;

(Introduced in version 13)

This property takes the properties MinPrintedItemNo and MaxPrintedItemNo into account. By default, when these properties define the range including the whole document, LastPageNo returns PagesCount. If MaxPrintedItemNo is inside the items range (0..ItemCount-1), this property returns the index of the page containing the MaxPrintedItemNo-th item (see GetPageNo).


TRichView © trichview.com