Page 1 of 1

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

Posted: Wed Aug 19, 2009 10:37 am
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!

Posted: Sat Aug 22, 2009 8:50 am
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.