|Top Previous Next|
Returns index of the first item on the page
procedure GetFirstItemOnPage(PageNo: Integer; out ItemNo, OffsetInItem: Integer);
PageNo – number of page (from 1).
ItemNo – index of the first item on the page (from 0)
▪for non-text items: 0;
▪for text items: index of the first character on the page (from 1)
Note: this information is not enough when using tables. Tables can be printed on several pages, and using this information you cannot determine which part of table starts the page.
See also properties:
TRichView © trichview.com