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!
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.