trichview.com

trichview.support




Re: TMemoryStream


Return to index


Author

Message

Sergey Tkachenko

Posted: 01/14/2003 21:44:01


Inserting rvsrc in rvdst:


var Stream: TMemoryStream;


Stream := TMemoryStream.Create;

rvsrc.SaveRVFToStream(Stream, False);

Stream.Position := 0;

rvdst.InsertRVFFromStreamEd(Stream);

Stream.Free;


// best results will be if both richviewedits have "Allow adding styles

dynamically" mode, which can be set in the component editor (right-click the

editor in Delphi, select "Settings")




> Can you please give me an example of using TMemory Stream?

>

> ie From your comments in an earlier post:

> Its better to use stream (TMemoryStream) instead of file and RVF instead

of

> RTF - SaveRVFToStream, InsertRVFFromStreamEd

>

> Also how much is to upgrade to 1.7?

>

>

>





Powered by ABC Amber Outlook Express Converter