DATA Step Graphics Interface Dictionary |
Finds the attribute settings associated with a text bundle
Operating States: |
GKOP, SGOP, WSAC, WSOP
|
Return Codes: |
0, 8, 68, 69
|
CALL GASK('TEXREP', index,
color-index,
font, return-code-variable);
The GASK('TEXREP', . . . ) routine returns
the color and font associated with a specific text bundle. If the bundle indicated
by index has not been previously defined with
the GSET('TEXREP', . . . ) function, DSGI issues the following error message:
ERROR: A representation for the specified text index has
not been defined on this workstation.
index |
numeric constant or numeric variable
name; indicates the fill bundle to check. 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 variable name; returns the
color index of the fill color associated with the bundle. The color index
that is returned corresponds to a color specification in the following order:
-
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 variable name; returns
the text font associated with the bundle. |
return-code-variable |
numeric variable name; returns the
return code of the routine call. |
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.