trichview.com

trichview.support




Re: How to insert a page break?


Return to index


Author

Message

Shen

Posted: 08/29/2004 5:38:02


I only get one page break at the top of the document no matter how many RVF

files to be combined.



"Shen" <[email protected]> [email protected]...

> Thank you!

>

> But when I combined multi RVF file into one and separate them with the

page

> breaks, I failed. How should I do? Thanks again.

>

> My code is:

>

> procedure AppendDoc(rv: TRichViewEdit; const FileName: String);

> var  Stream: TFileStream;

> begin

>   Stream := TFileStream.Create(FileName, fmOpenRead);

>   rv.InsertRVFFromStream(Stream, rv.ItemCount);

>   rv.InsertPageBreak();

>   rv.Format();

>   Stream.Free;

> end;

>

> rv.Clear;

> AppendDoc(rv, 'file1.rvf');

> AppendDoc(rv, 'file2.rvf');

> rv.Format;

>

>

>

> "Sergey Tkachenko" <[email protected]> :[email protected]...

> > RichViewEdit.InsertPageBreak :)

> >

> > > How to insert a page break for printing?

> > >

> > > Thanks.

> > >

> > >

> >

> >

>

>





Powered by ABC Amber Outlook Express Converter