Hi All,
I had come to think that .Net has ample of classes to fulfil almost every need of a developer.
I have a situation in which I need to insert a table in a rich text box. I tried googling and established that the rtf generated for making a table can be obtained by saving a table drawn in MS word using wordpad and then understand the rtf code generated for table. But that would give a fixed table, unmovable, unstrechable. I made a table in MS word, copied it and pasted it in my application's RichTextBox. The table was again the same type. So it is not just about generation of rtf and appending it to the rtf property of the RichTextBox it should be movable like it is in MSWord and also resizable. This means I need to insert it like an object. Can you please suggest a .Net work around. (Inserting as an object will also solve the problem of inserting images and any object.)
I gathered perhaps API call may help in this scenario but If API call is inevitable can you please suggest which API to call and how?
Thanks in Advance,
P.S. I am working with VS 2005 Windows App.