RTF code for highlighting text
Posted on 2007-11-30
What is the RTF code for highlighting text? (i.e it's background color)
In the case of specifying text foreground colors, the color code needs to be declared in a color table at the head of the file. Then to specify the foreground text colour I would use the following RTF code:
.. where the 3 indicates the color index in the color table. My first question is what is the RTF code for specifying a highlighted block? what would go in place of \\cf?? .. and secondly and it would be logical, is the highlighting colour specifyed by putting an entry into the colour table and then referencing it as is done in the case of foreground colors?