any suggestions how I put a frame/border around the entire page, in an ods pdf output?
(I've got a number of layout pieces, and would like them all enclosed in a single frame - what the boss wants)
thanks,
Dave
I would have guessed BORDER or FRAME rather than ANNOTATE.
proc gslide border cframe="black" wframe=4;
"The BORDER option draws a box around the entire graphics output area."
It looks to me like you would create a region that was the whole page and then have your layout pieces inside that.
This :
http://www2.sas.com/proceedings/sugi31/159-31.pdf
shows a page background with blue and parts inside it.
Where it has
ods region
x=0 pct
y=0 pct
height=100 pct
width =100 pct;
goptions cback=cyan;
you may be able to figure out how to set a border instead of a background color.
HTH.
thanks for the reply. I had seen the paper you referred to, but was hoping to avoid gslide. I did try, but am not getting the hoped-for results:
options nodate nonumber;
title;
ods pdf file = "C:\a\test.pdf" NOGTITLE ;
%ANNOMAC
data anno;
%bar(0,0,100,100,cyan,e,1);
XSYS='3';
YSYS='3';
output;
run;
ods layout start;
ods region
x=0 pct
y=0 pct
height=100 pct
width =100 pct;
proc gslide anno=anno;
run; quit;
ods layout end;
ods pdf close;
I would have guessed BORDER or FRAME rather than ANNOTATE.
proc gslide border cframe="black" wframe=4;
"The BORDER option draws a box around the entire graphics output area."
that works - thanks!
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.