trichview.support
Re: saveHTMLtostream question... |
Author |
Message |
Bryan Tabuteau |
Posted: 07/28/2004 0:27:39 Thanks a lot. I was not setting the position of my stream to 0 before I read into it, I was doing it afterwards. Thanks for your help, it all works sweet now. Michael <[email protected]> wrote: >I use SaveHTMLToStreamEx but it must be the same, >I do this and it is wortking for me, make it a try! > > try > StrStream := TStringStream.create(rtf); > RichView.Clear; > RichView.LoadRTFFromStream(StrStream); > StrStream.position := 0; > RichView.SaveHTMLToStreamEx( StrStream, TMP_DIR, > title,prefix,'',Externalcss,'',[]); > > result := StrStream.DataString; > finally > StrStream.Free; > end; > > >Regards, >Michael > |
Powered by ABC Amber Outlook Express Converter