lines of page and pagebreak

General TRichView support forum. Please post your questions here
Post Reply
bazzany
Posts: 4
Joined: Fri Mar 04, 2011 10:25 am

lines of page and pagebreak

Post by bazzany »

i have some questions
- how can i get the number of lines on a page
- how can i know if my data/items can fit to a page, so if i know then i can format them and put into next page

thanks
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

You cannot know if document can fit to page or not without formatting it.
Do you ask about TSRichViewEdit or TRichViewEdit+TRVPrint?
bazzany
Posts: 4
Joined: Fri Mar 04, 2011 10:25 am

Post by bazzany »

TSRichViewEdit+TSRVPrint

actually i have to construct a full document with certain layout for print and or export to other document from multiple TSRichViews. I have to put a paragraph into next page if it's not fit in current page.
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

If you simply need page breaks between paragraphs rather than inside them, use rvpaoKeepLinesTogether option for paragraphs.
Post Reply