trichview.com

trichview.support




Re: How to insert page break?


Return to index


Author

Message

Sergey Tkachenko

Posted: 05/07/2004 22:42:21


If you need to genetate document width pagebreaks, use

PageBreaksBeforeItems[] property:


rv.Clear;

rv.AddNL('First page', 0, 0);

rv.AddNL('Second page', 0, 0);

rv.PageBreaksBeforeItems[rv.ItemCount-1] := True;

rv.Format;


If you need to insert pagebreak at the caret position, use

RichViewEdit.InsertPageBreak.



> Hello,

> I have my page code with AddNL(...) etc...But I would know If I can inster

a

> page break and how to do?

> At this time I add or remove AddNL(" ",0,0);!!!!!!I know it is not very

> smart but I have look at the help and have not understood how to use

> correctly the InsertPageBreak method.

> Could you help me please

> I thank you very much

> Patrick

>

>





Powered by ABC Amber Outlook Express Converter