trichview.com

trichview.support




Re: How to insert a page break?


Return to index


Author

Message

Shen

Posted: 08/29/2004 5:35:24


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" <svt@trichview.com> :4130d494$1@support.torry.net...

> RichViewEdit.InsertPageBreak :)

>

> > How to insert a page break for printing?

> >

> > Thanks.

> >

> >

>

>





Powered by ABC Amber Outlook Express Converter