Chapter Contents

Previous

Next
LINREP

LINREP



Associates a bundle of line attributes with an index

Operating States: GKOP, SGOP, WSAC, WSOP
Return Codes: 0, 8, 60, 62, 85, 90
Default Value: none


Syntax
Description
Argument Definitions
See Also


Syntax

return-code-variable=GSET ('LINREP',index, color-index, width, type);


Description

The GSET('LINREP', . . . ) function assigns a color, width, and line type to a specific line bundle. The aspect source flags (ASF) for LINCOLOR, LINWIDTH, and LINTYPE 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 number for the bundle to use as an index. Valid values are 1 and 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; specifies the index of 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 colors list of the COLORS= graphics option

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

width numeric constant or numeric variable name; indicates the width of the line; must be greater than 0.
type numeric constant or numeric variable name; indicates the type of line. Valid values are 1 to 46, inclusive. See Line Types for representations of the different line types.

See Also

GSET('ASF', . . . ) function
GSET('COLREP', . . . ) function
GSET('LINCOLOR', . . . ) function
GSET('LININDEX', . . . ) function
GSET('LINREP', . . . ) function
GSET('LINTYPE', . . . ) function
GSET('LINWIDTH', . . . ) function


Chapter Contents

Previous

Next

Top of Page

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