trichview.com

trichview.support




Re: Getting RTF text from TRichviewedit


Return to index


Author

Message

Sergey Tkachenko

Posted: 12/20/2004 12:58:17


You did it absolutely correctly. There is no such property.


> I have partially answered my own question,  I think.   - I have used

> SaveRTFToStream and then reloaded it into a TMemo which shows the RTF

tags.

>

> Is there an inbuilt property that achieves this?

>

> Here is my code:

>

> ms :=TMemorystream.Create;

> ms.Position:=0;

> RichViewEdit1.SaveRTFToStream(ms,false);

> ms.Position:=0;

> memo1.Lines.LoadFromStream(ms);

> ms.Free;

>





Powered by ABC Amber Outlook Express Converter