Chapter Contents

Previous

Next
SWAP

SWAP



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


Syntax
Details

Syntax

GOPTIONS: SWAP | NOSWAP
GDEVICE: SWAP=Y | N

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.


Details

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;


Chapter Contents

Previous

Next

Top of Page

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