Chapter Contents

Previous

Next
TEXCOLOR

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 GSET('TEXREP', . . . ) function 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 colors list of the COLORS= graphics option

  3. the nth color in the device's default colors 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)
GASK('TEXCOLOR', . . . ) routine
GSET('ASF', . . . ) function
GSET('COLREP', . . . ) function
GSET('TEXREP', . . . ) function


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.