How to receive the first lines from all pages in the sRVE?

General TRichView support forum. Please post your questions here
Post Reply
chelovek
Posts: 3
Joined: Tue Aug 18, 2009 9:11 am

How to receive the first lines from all pages in the sRVE?

Post by chelovek »

How to receive the first lines (String) from all pages in the document (SRichViewEdit)? For example, at document scrolling appears Hint with number of pages and initial symbols of page.
Thanks!
Sergey Tkachenko
Site Admin
Posts: 17569
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

ScaleRichView 2.2.2 (uploaded yesterday for registered users) has a new method: GetPageStartItemNo.
This method returns the index of the first item on the page and the position in this item, so you can get text.
Note that scrolling hints display not exactly the first lines on pages. They display text from the first paragraphs on pages.
Post Reply