Previous Page | Next Page

DATA Step Graphics Interface Dictionary

TEXCOLOR



Specifies the color index of the color used to draw text strings
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:

  1. the color specified for the index in a GSET('COLREP', . . . ) function

  2. the nth color from the color list of the COLORS= graphics option

  3. 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)

TEXCOLOR

ASF

COLREP

TEXREP

Previous Page | Next Page | Top of Page