|  | 
|  | 
| DATA Step Graphics Interface Dictionary | 
| Operating States: | GKOP, SGOP, WSAC, WSOP | 
| Return Codes: | 0, 8, 85 | 
| Default Value: | 1 | 
| Syntax | |
| Description | |
| Argument Definitions | |
| See Also | 
| Syntax | 
return-code-variable=GSET('TEXCOLOR', color-index);
| Description | 
The GSET('TEXCOLOR', . . . ) function selects the color for text. The aspect source flag (ASF) of TEXCOLOR must be set to 'INDIVIDUAL' for this attribute to be used outside of a text bundle.
The value of GSET('TEXCOLOR', . . . ) can be used in a text bundle. See the TEXREP for information on how to define a text bundle.
DSGI searches for a color specification in the following order:
the color specified for the index in a GSET('COLREP', . . . ) function
the nth color from the color list of the COLORS= graphics option
the nth color in the device's default color list found in the device entry.
| Argument Definitions | 
| color-index | numeric constant or numeric variable name; indicates the color index of the color to be used. Valid values are 1 to 256, inclusive. | 
| See Also | 
| COLORS= graphics option (see COLORS) | |
|  | 
|  | 
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.