Click here to Skip to main content
14,882,280 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In my case RTF content in stored in database and i am trying it to convert RTF content to HTML and view it in my MVC web page where RTF content contains fonts and also images. I have tried in the given link and this link is not working perfect if the RTF content is huge. Is there any other options to view my RTF content?

What I have tried:

Writing Your Own RTF Converter[^]
Updated 9-Sep-19 1:18am

You should post your question in the forum at the end of the article so the author can help you.
Inzi-Mu 11-Sep-19 3:03am
Did.Thank you
Normally you would post questions and problems with code that you received in some article here in the comments section of the actual article; the Quick Answer section is not tech-support for the article.

That said, what have you tried? You state that it doesn't work when the content is huge. Would it be possible to split the content into two separate RTF documents and stitch them back together? Was the content created in Wordpad or was it just saved as RTF?

Have you run this in debug mode to see why/where it is failing?
Have you looked for a different converter?
Inzi-Mu 11-Sep-19 3:11am
Actually i am taking RTF content from database.If we split the content then the data we will not get the expected output because most of my RTF content contains images in hexadecimal so if we split image will not come.

When i run this code in debug mode it is failing in image conversion
MadMyche 11-Sep-19 7:47am
The RTF content did not magically appear in the DB, what actually created it?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900