TSRichViewEdit.FirstPageNo (read-only)

<< Click to display table of contents >>

TSRichViewEdit.FirstPageNo (read-only)

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

property FirstPageNo: Integer;

This property takes the properties MinPrintedItemNo and MaxPrintedItemNo (and the corresponding offsets in items) into account. By default, when these properties define the range including the whole document, FirstPageNo returns 1. If MinPrintedItemNo>0, this property returns the index of the page containing the MinPrintedItemNo-th item (see GetPageNo). If MinPrintedItemNo>=RichViewEdit.ItemCount, FirstPageNo returns PageCount+1 (and nothing will be printed).