Larry wrote:
I'd like to programatically create a "table" with columns and rows
inside the richtextbox control and save the table as a file in RTF
format. Does anyone have any examples of this?
so i want a "books" column, and a "categories" column, and I want to
have multiple rows of information written to the control and saved in
RTF. when anyone opens up the RTF file, they'll see columns and rows of
books and categories. I'd also like to format the table, if possible.
Hi Larry :)
The complete RTF specification is a free download from Microsoft BUT
it's a huge document and (like most specifications) not much fun to
read. What I generally do when I want to work out how to do something
in RTF is this: Create a minimal document in Word or (preferably)
WordPad that contains the desired feature, save it as RTF, and examine
the resulting file with Notepad.
I can't work out how to create tables in Wordpad, so I created a table
in a Word doc, saved it as RTF, then opened it and saved it with
Wordpad (this serves to strip away much of the fluff that Word adds).
Reading the resulting text in conjunction with the specification
produces enlightment.
Googling RTF produces <http://www.biblioscape.com/rtf15_spec.htm> as
the first result, which looks readable enough.
--
Larry Lard
Replies to group please