I need to get one image in each of the top corners of a pdf. I thought I could do this by putting both images in a title with spaces in between but it doesn't work. I can get either of these images to print individually, but when I use both, only the first prints. The second image is ignored but I don't get an error message. This is my code:
ods escapechar='^';
ods pdf close;
ods pdf file = 'c\sed\NYSAA ELA Grade 3 teacher report 2016.pdf' notoc;
proc report data=NYSAA_2016_Grade3_ela_elements style(header)=[background=white] bypageno=1;
<more statements>
title1 '^S={preimage="c\sed\nysed-logo-text.png"} ^S={preimage="c\sed\dlm_logo_final_registered.jpg"}';
run;
Thanks.
Did you try PostImage for the second?
I don't do much with the image insertions but I would thing that Preimage is in one "location" and Postimage in another.
Also you might want to consider some justification code to justify the first into left and the second as right.
Did you try PostImage for the second?
I don't do much with the image insertions but I would thing that Preimage is in one "location" and Postimage in another.
Also you might want to consider some justification code to justify the first into left and the second as right.
Thanks. This worked.
You should post it at ODS Report forum. ods pdf file='/folders/myfolders/x.pdf' style=sasweb; ods escapechar='~'; title j=l '~S={preimage="/folders/myfolders/x.png" color=white} x' j=r '~S={postimage="/folders/myfolders/x.png" color=white} y'; proc print data=sashelp.class;run; ods pdf close;
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 the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.