hii,
i need to convert rtf to html using c#,plz send me details abt the same.Iam finding the code on vc++ but not on c#
regards
srini
Printable View
hii,
i need to convert rtf to html using c#,plz send me details abt the same.Iam finding the code on vc++ but not on c#
regards
srini
I don't know of anything in C#. Why don't you just put the C++ code in a dll and call it from C#. Surely all it needs is a method like :
Darwen.Code:void __stdcall ConvertHtmltoRtf(LPCSTR szHtmlFile, LPCSTR szRtfFile);
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:
If you have any questions about our products, our online-support team will be glad to help you :)Code:Convert text string to html string in C#:
SautinSoft.RtfToHtml convert = new SautinSoft.RtfToHtml();
string htmlString = convert.ConvertString("yourString");