Click here to Skip to main content
14,298,693 members
Rate this:
Please Sign up or sign in to vote.
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[^]
Posted
Updated 9-Sep-19 1:18am
Rate this:
Please Sign up or sign in to vote.

Solution 1

You should post your question in the forum at the end of the article so the author can help you.
   
Comments
Inzi-Mu 5 days ago
   
Did.Thank you
Rate this:
Please Sign up or sign in to vote.

Solution 2

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?
   
Comments
Inzi-Mu 5 days ago
   
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 5 days ago
   
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, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100