Page 1 of 1

lines of page and pagebreak

Posted: Fri Mar 04, 2011 10:35 am
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

Posted: Fri Mar 04, 2011 2:02 pm
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?

Posted: Mon Mar 07, 2011 6:25 pm
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.

Posted: Mon Mar 07, 2011 7:13 pm
by Sergey Tkachenko
If you simply need page breaks between paragraphs rather than inside them, use rvpaoKeepLinesTogether option for paragraphs.