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;
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.
Ready to level-up your skills? Choose your own adventure.