Previous Page | Next Page

DATA Step Graphics Interface Dictionary

TEXREP



Associates a bundle of text attributes with an index
Operating States: GKOP, SGOP, WSAC, WSOP
Return Codes: 0, 8, 68, 85
Default Value: none

Syntax
Description
Argument Definitions
See Also

Syntax

return-code-variable=GSET ('TEXREP',index, color-index, font);


Description

The GSET('TEXREP', . . . ) function assigns a color and font to a particular text bundle. The aspect source flags (ASF) of TEXCOLOR and TEXFONT must be set to 'BUNDLED' before the GDRAW('TEXT', . . . ) function is executed if you want the bundled values to be used when the text is drawn.


Argument Definitions

index

numeric constant or numeric variable name; specifies the number to use as an index for the bundle; valid values are 1 to 20, inclusive. If index is expressed as a variable, the variable must be initialized to a value between 1 and 20.

color-index

numeric constant or numeric variable name; indicates the color to use; valid values are 1 to 256, inclusive. The color index should represent one of the following:

  • a color index assigned with the GSET('COLREP', . . . ) function

  • the nth color in the color list of the COLORS= graphics option

  • the nth color in the device's default color list.

font

character string enclosed in quotation marks or character variable name; names the font to use with the bundle. See SAS/GRAPH Font Lists for a list of valid SAS/GRAPH fonts. You can also use fonts you have created using the GFONT procedure.


See Also

COLORS= graphics option (see COLORS)

TEXREP

ASF

COLREP

TEXINDEX

Previous Page | Next Page | Top of Page