TSRichViewEdit.GetPageStartTableRow

<< Click to display table of contents >>

TSRichViewEdit.GetPageStartTableRow

Returns the index of table row at the beginning of the PageNo-th page.

function GetPageStartTableRow(PageNo : Integer) : Integer;

PageNo is a page index, from 1.

Return value:

index of row in the table, or -1 if the page is not started from a table.

The table is TRVTableItemInfo(RichViewEdit.GetItem(GetPageStartTableItem)), if GetPageStartTableItem>=0.