Hello EG USers,
Is it possible to embed small logo / .jpg file inside of SAS Report. Currently, I am using Electronics style.
Thanks!
Dhanashree
Depends on the destination of the report.
You say SAS report and proc report. Not clear what you mean.
Right, I am using proc report to generate pdf and html.
Although if I need to change the destination to embed graphics, I am more than willing to consider the new destination and then manually convert it to pdf.
Thanks in advance for your inputs!
Hi:
Generally with any procedure, (not just PROC REPORT), you can put a logo in the title of the results, as long as
1) you use an ODS destination that supports style definitions and style overrides
2) you use one of the 2 basic methods of inserting a logo:
---put the logo into the SAS TITLE statement
OR
----for some destinations, define a new style template that defines the logo
The 3 major destinations: ODS RTF, ODS PDF and ODS HTML do support the insertion of logos into the output results. However, some destinations (ODS LISTING, ODS CSV, ODS TAGSETS.EXCELXP) do *NOT* support logos.
Did you search the forum for previous postings on this topic? I know that I have personally responded to more than 1 previous posting with this question. And I know that there are several Tech Support notes on the topic.
cynthia
Can you point me to relevant documentation. I tried searching in discussions but did not come across anything more relevant than
ods graphics / imagename='koala' imagefmt=png;
Not sure if this will serve the purpose.
In theory, I would prefer the image to be part of title statement justified to left. Now I tried to read about TITLE statement, but it mentions nothing about images. Am I missing something?
Thanks much,
Dhanashree
Hi:
Here's a screen shot of the string I used to search the SAS site and found a lot of hits. This one did not show up on the first page, but will help (24229 - Place images in titles routed to ODS PDF).
Here are some previous forum postings:
https://communities.sas.com/message/10450#10450
https://communities.sas.com/message/124747#124747
https://communities.sas.com/message/44176#44176
(but when I searched the forum, there were 2 pages of hits -- I only put 3 here).
cynthia
Thanks much Cynthia, that was helpful.
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.
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.