I have rtf text which contain math equation , I want to display it on aspx page.
If you just want to display the math equation on the web page, try distracting the math equation from rft file and displaying it with html tag, it's stratighforward.
The blog below demonstrate how to convert the RFT to HTML:
sanjayrcm58
0 Points
10 Posts
How to convert rtf text in html using c#
Jun 26, 2012 06:19 AM|LINK
I have rtf text which contain math equation , I want to display it on aspx page.
Its very urgent.
cachet.net
Member
463 Points
110 Posts
Re: How to convert rtf text in html using c#
Jun 26, 2012 06:27 AM|LINK
I didnt try this practically plz have a look may b work for you
http://forums.textcontrol.com/showthread.php?318313-Display-RTF-data-from-db-to-a-web-page
sanjayrcm58
0 Points
10 Posts
Re: How to convert rtf text in html using c#
Jun 26, 2012 09:28 AM|LINK
Link is not helpfull, still i am trying to get solution.
Thanks
narasappa
Participant
960 Points
458 Posts
Re: How to convert rtf text in html using c#
Jun 26, 2012 09:41 AM|LINK
http://stackoverflow.com/questions/150208/how-do-i-convert-html-to-rtf-rich-text-in-net-without-paying-for-a-component
http://www.codeproject.com/Articles/27431/Writing-Your-Own-RTF-Converter
http://stackoverflow.com/questions/439301/convert-rtf-to-html
ravi.jadiyannavar@gmail.com
Pls Mark This Post As Answer If it Helps U..
Thanku
sanjayrcm58
0 Points
10 Posts
Re: How to convert rtf text in html using c#
Jun 26, 2012 11:32 AM|LINK
Your first link is for HTML to RTF while I need RTF to HTML.
Last two links are suggesting for writing your own converter , this is not convenient do .
krayknot
Member
152 Points
42 Posts
Re: How to convert rtf text in html using c#
Jun 26, 2012 12:40 PM|LINK
Well this is not the actual solution and also its also not tested, but its reverse-flow can obtain the required output:
sanjayrcm58
0 Points
10 Posts
Re: How to convert rtf text in html using c#
Jun 26, 2012 02:04 PM|LINK
It's true it's not actual solution
Thanks for reply
Mamba Dai - ...
All-Star
23531 Points
2683 Posts
Microsoft
Re: How to convert rtf text in html using c#
Jul 02, 2012 04:18 AM|LINK
Hi,
If you just want to display the math equation on the web page, try distracting the math equation from rft file and displaying it with html tag, it's stratighforward.
The blog below demonstrate how to convert the RFT to HTML:
http://blogs.msdn.com/b/matt/archive/2009/09/28/converting-rtf-to-html.aspx
And this thread below may provide some consideration for your requriement as well:
http://stackoverflow.com/questions/8988018/convert-rtf-to-html-in-net
Feedback to us
Develop and promote your apps in Windows Store
Maneel
Member
552 Points
122 Posts
Re: How to convert rtf text in html using c#
Jul 02, 2012 04:24 AM|LINK
Hi sanjay,
Check the below link once it will be helpful.....
http://yash-maneel.blogspot.in/2012/05/word-documents-and-excel-documents-in.html
In ".doc" and ".docx" you can add ".rtf" thats it.
sanjayrcm58
0 Points
10 Posts
Re: How to convert rtf text in html using c#
Jul 03, 2012 12:49 PM|LINK
Your first link uses WPF while i have to use only c# in ASP.Net and second link is not helpfull.