FILCOLOR

Specifies the color index of the color used to draw fill areas
Operating state: GKOP, SGOP, WSAC, WSOP
Default: 1

Syntax

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

Required Argument

color-index
numeric constant or numeric variable name; indicates the index of the color to be used. Valid values are 1 to 256, inclusive.

Return Codes

This function returns:

Details

The GSET('FILCOLOR', . . . ) function selects the color index of the color used to draw fill areas. The aspect source flag (ASF) of FILCOLOR must be set to 'INDIVIDUAL' for this attribute to be used outside of a fill bundle.
DSGI searches for a color to assign to the index in the following order:
  1. the color specified for the index in a GSET('COLREP', . . . ) function
  2. the nth color in the color list of the COLORS= graphics option
  3. the nth color in the device's default color list found in the device entry