Click here to Skip to main content
15,170,971 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

How do i can input a html Content to rich Text Box

Something like
RichTextBox.Text="<html><body>Test</body></html>";
Posted

   
Comments
Sergey Alexandrovich Kryukov 13-Mar-12 23:42pm
   
Looks useful, my 5.

However, I have a feeling that the project I reference in my answer is more advanced. Also, I tested it and find it wonderfully good. Please see, it's interesting...

--SA
codeprojectora 24-Jan-17 5:03am
   
khkk
njl
Bold letter
This wonderful CodeProject work presents a very advanced HTML renderer based on System.Windows.Forms.RichTextBox:
A Professional HTML Renderer You Will Use[^].

Even though I would advice to use this component as is and forget about such a rudimentary format as RTF, the code you want is contained in this project, apparently.

Now, as I thinks it's pretty likely that your ultimate goal can use the renderer component, I would recommend to start all your questions from explanations of your ultimate goals. This way it's way more likely that you can get much better advice.

—SA
   
Comments
Ganesan Senthilvel 13-Mar-12 23:50pm
   
Great article, SA. Thanks for the reference.
   
You are welcome.
--SA

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