RTF file in Rich Text BOx
-
Hello freind, I have taken a rich textbox in a form and i want to show all the content of RTF file. and also if any where in the file any word is bold then i want to add tag bold of any bold words just like HELLO so please suggest me how i will add tag starting of bold word and in end . Thanks in advance..
-
Hello freind, I have taken a rich textbox in a form and i want to show all the content of RTF file. and also if any where in the file any word is bold then i want to add tag bold of any bold words just like HELLO so please suggest me how i will add tag starting of bold word and in end . Thanks in advance..
You would have to first load the RTF file into the richtextbox. Then you will have to write code that will loop through all of the text searching for the words to bold. You are going to set the selection start and end points and then bold them.
Regards, Thomas Stockwell Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. Visit my Blog