A
string expression that specifies the HTML Backcolour.
You can specify the values
for this property by either:
- Specifying a colour by a
word.
- By specifying a hex
value.
- Using a colour property
of another control.
These are the words that
you can use along with the actual colour used.
"black" = "000000"
"blue" = "0000FF"
"green" = "00FF00"
"cyan" = "FFFFFF"
"red" = "FF0000"
"magenta" = "FF00FF"
"yellow" = "FFFF00"
"white" = "FFFFFF"
"grey" = "B5B5B5"
"gray" = "B5B5B5"
"light blue" = "00008B"
"light green" = "90EE90"
"light cyan" = "E0FFFF"
"light red" = "FF6347"
"pink" = "FF80FF"
"brown" = "A52A2A"
"orange" = "FF8C00"
You can also specify the
hex value for a colour like so:
rtf2html1.HTML_Colour
= "0xffffff"
rtf2html1.HTML_Colour = "ffffff"
You can
also specify the colour of a control like so: (Where Text1
is a Text Box containing a colour in one of the above
formats)
rtf2html1.HTML_Colour
= Text1.BackColor
|