Hi. I suggest you use the library for this. "RTF to HTML DLL. Net" supports Text, RTF documents converting into HTML/XHTML. Library doesn't require installed require MS Office or any word-processor. The full version of "RTF to HTML" for 1 Developer and 1 Server License will be cost $239(US). But if you want for free, try to use FREE TRIAL version of this library. The trial version is complete functional and differs from full only that:
1.Converts only first 30,000 symbols
2.Can be used only for evaluating and testing
Sample code for the converting rtf to html in c#:
SautinSoft.RtfToHtml convert = new SautinSoft.RtfToHtml();
string htmlString = convert.ConvertString("yourString");
Disclaimer: I'm working for this company.
Try to use our "RTf to HTM DLL .Net" for this. Library supports rtf to html converting very good. We offer the full version and free trial. The full version without any restrictions. Trial version allows to convert only first 30,000 symbols and can be used only for evaluating and testing. More about "RTF to HTML DLL .Net".
sample code for the converting from rtf to html in C# for you:
Code:
Convert text string to html string in C#:
SautinSoft.RtfToHtml convert = new SautinSoft.RtfToHtml();
string htmlString = convert.ConvertString("yourString");
If you have any questions about our products, our online-support team will be glad to help you
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.