Graphics Options and Device Parameters Dictionary |
Specifies whether to reverse BLACK and WHITE in the graphics output.
Used in: |
GOPTIONS statement; GDEVICE procedure; GDEVICE
Parameters window
|
Defaults: |
GOPTIONS: NOSWAP; GDEVICE: SWAP=N
|
Restriction: |
not supported by Java or ActiveX
|
-
SWAP
SWAP=Y
-
swaps BLACK for WHITE and vice versa.
-
NOSWAP
SWAP=N
-
does not swap the colors. A blank Swap
field in the Parameters window is the same as SWAP=N.
SWAP does not affect the background color
and only affects BLACK and WHITE foreground colors specified as predefined
SAS color names. SWAP ignores BLACK and WHITE specified in HLS, RGB, or gray-scale
format. This option is useful when you want to preview a graph on a video
device and send the final copy to a printer that uses a white background.
goptions reset=all cback=blue ctitle=black swap;
title1 h=8 'swap test';
title2 h=8 'another title';
proc gslide border;
run;
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.