Convert Rtf to HTML [closed]

2019-01-02 18:07发布

We have a crystal report that we need to send out as an e-mail, but the HTML generated from the crystal report is pretty much just plain ugly and causes issues with some e-mail clients. I wanted to export it as rich text and convert that to HTML if it's possible.

Any suggestions?

标签: c# html rtf
8条回答
骚的不知所云
2楼-- · 2019-01-02 19:14

I would check out this tool on CodeProject RTFConverter. This guy gives a great breakdown of how the program works along with details of the conversion.

Writing Your Own RTF Converter

查看更多
旧时光的记忆
3楼-- · 2019-01-02 19:14

I think you can load it in a Word document object by using .NET office programmability support and Visual Studio tools for office.

And then use the document instance to re-save as an HTML document.

I am not sure how but I believe it is possible entirely in .NET without any 3rd party library.

查看更多
登录 后发表回答