RTF and word tables

  • Thread starter Thread starter sebastien1101
  • Start date Start date
S

sebastien1101

i need to make a Table in RTF in my richTextBox...

I can't find any sample to help me to begin this works...

If someone have a little sample...

thx
 
Hello Sebastien,

You could have a look at:

http://www.microsoft.com/downloads/...32-17f0-4b46-9e4e-467ef9bc5540&displaylang=en

to see if it gives you any help. One "trick" I have used in the past is
to create a Word document with the structure I want, then save it as
RTF and examine the codes produced. This is a bit like using "Record
Macro". It (probably) doesn't give you exactly what you want, but can
provide an idea of the codes to use for the "real" thing.

Cheers,
Randy
 
R. MacDonald said:
You could have a look at:

http://www.microsoft.com/downloads/...32-17f0-4b46-9e4e-467ef9bc5540&displaylang=en

to see if it gives you any help. One "trick" I have used in the past is
to create a Word document with the structure I want, then save it as RTF
and examine the codes produced. This is a bit like using "Record Macro".
It (probably) doesn't give you exactly what you want, but can provide an
idea of the codes to use for the "real" thing.

Well, but note that the RichTextBox control supports only a small subset of
available RTF commands and IIRC does not support tables.
 
Back
Top