printlabelbgcolor

Enables a item's built-in label to be printed with a specific background color on a color printer.

This color can be the same as or different from the background color shown on the screen. On black and white printers, grayscaling is used.

Syntax

   <printlabelbgcolor>color</printlabelbgcolor>
Table 1. printlabelbgcolor parameters
Parameter Type Description
color special The color may be expressed in any of the following formats:
  • Comma-separated RGB values. For example:
       192,192,192
    
  • Hexadecimal-based RGB values. For example:
       #336699
    
  • Color name. For example:
       blue
    

Available in

check, checkgroup, combobox, field, list, pane, radio, radiogroup, slider

Examples

These samples both set the printed label background color to forest green.

   <printlabelbgcolor>forest green</printlabelbgcolor>
   <printlabelbgcolor>34,139,34</printlabelbgcolor>
   <printlabelbgcolor>#228B22</printlabelbgcolor>

Usage details

  1. Default: the printlabelbgcolor default is derived from the item’s specified or default labelbgcolor.