trichview.com

trichview.support




Re: How to insert a page break?


Return to index


Author

Message

Shen

Posted: 08/29/2004 9:17:47


Solved already. Thanks. :)



"Shen" <nospam@sunistudio.com> :41313974$1@support.torry.net...

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

RVF

> files to be combined.

>

>

> "Shen" <nospam@sunistudio.com> 413138d7@support.torry.net...

> > 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