Rtf To Html

  •  01-24-2006, 11:24 AM

    Rtf To Html

    We have a legacy database that uses RTF for its formatted text.
    I can read this field as a string or as a stream.
    Can I use CuteEditor to convert this RTF to HTML without saving the rtf string to a file first.
    I tried

    CuteEditor.Convertor.RTF.RTF2HTML rtf2html =  new CuteEditor.Convertor.RTF.RTF2HTML(rtf);
    string ret = rtf2html.ParseRTF();
     
    But  RTF2HTML method  requires a file name as parameter: RTF2HTML(string _fileName)
    I need a method that will accept an actual rtf string or a stream.
     
    Thanks
    Angel
View Complete Thread