Color command. "C".
Use this command to modify
the color that the text, lines, boxes etc will be used to
print/display.
Syntax:
C=NUMBER_OF_COLOR
or
C=R,G,B
If you use the first syntax, NUMBER_OF_COLOR will be a
number from 0 to 15 according with the following table.
Color 0 |
Color
1 |
Color
2 |
Color
3 |
Color
4 |
Color
5 |
Color
6 |
Color
7 |
Color
8 |
Color
9 |
Color
10 |
Color
11 |
Color
12 |
Color
13 |
Color
14 |
Color 15
(White) |
If you use the second one (R,G,B) insert
three values between 0 and 255 to determine ammounts for red, green and blue.
Examples:
{c=12} This text will be
red {c=2} and this will be green {c=0} this will be black which
is default color {\n}
{c=255,0,45} This color has been created with R,G,B {c=0}
It is important
to pay attention to close the attributes of the text
properly. If the attributes are not opened/closed
properly the results could be for example an entire
report in bold, underlined, a wrong color, etc. |
See also:
Rpv color sample (VB example)
|