Question

I need to create a simple editor using a RichTextBox control in a windows forms application that includes the ability to create tables.

Is it possible to create a table in a RichTextBox control?

If so, any pointers on the best way to do this would be appreciated.

Was it helpful?

Solution

The winforms RichTextbox control utilizes RTF as it's rich-format language. As such tables are an inherent part of the control, you just must know enough RTF to code up the table.

Here's the 1.9.1 specification. Enjoy.

Wikipedia has all the specifications listed on it

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top