Chapter Contents

Previous

Next
FILREP

FILREP



Associates a bundle of fill attributes with an index

Operating States: GKOP, SGOP, WSAC, WSOP
Return Codes: 0, 8, 75, 78, 85
Default Value: none


Syntax
Description
Argument Definitions
See Also


Syntax

return-code-variable =GSET('FILREP', index, color-index, interior, style-index);


Description

The GSET('FILREP', . . . ) function assigns a color, type of interior, and style of the interior to a specific fill bundle. The aspect source flags for FILCOLOR, FILTYPE, and FILSTYLE must be set to 'BUNDLED' before the associated GDRAW function is executed if you want the bundled values to be used when the affected graphics element is drawn.


Argument Definitions

index numeric constant or numeric variable name; indicates the index to be used with the bundle. Valid values are 1 to 20, inclusive. If index is expressed as a variable, the variable name must be initialized to a value between 1 and 20.
color-index numeric constant or numeric variable name; indicates the index of the color to be used. 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 colors list of the COLORS= graphics option

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

interior character string enclosed in quotation marks or character variable name; indicates the type of interior. Valid values are

  • HATCH

  • HOLLOW

  • PATTERN

  • SOLID.

style-index numeric constant or numeric variable name; indicates the index of the style to be used. Valid values are 1 to 15, inclusive, when FILTYPE is PATTERN, or 1 to 60, inclusive, when FILTYPE is HATCH. See the GSET('FILSTYLE', . . . ) function for a table of the patterns used for each style index. If interior is HOLLOW or SOLID, style-index is ignored.

See Also

GASK('FILREP', . . . ) routine
GSET('ASF', . . . ) function
GSET('COLREP', . . . ) function
GSET('FILCOLOR', . . . ) function
GSET('FILINDEX', . . . ) function
GSET('FILSTYLE', . . . ) function
GSET('FILTYPE', . . . ) function


Chapter Contents

Previous

Next

Top of Page

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