BookmarkSubscribeRSS Feed
Dick_Shryock
Calcite | Level 5

Here is my Code:

Thanks in advance for any help given

dick shryock

Maine Medical Center

proc template ;

     define style DicksStandard;

     parent=styles.EGdefault;

     class body / preimage=\\sasmeta1\projects\mmc\warehouse\wdata\datasources\images\MMC_LOGOsidebyside_Small.GIF;

     end;

run;

1 REPLY 1
Cynthia_sas
Diamond | Level 26

Hi:

  Looking at your image location, I fear that you are possibly creating your output in the context of the SAS BI Platform, using the client applications of the Platform (such as Web Report Studio or the Add-in for Microsoft Office) -- if this is the case, then you might wish to work with Tech Support because generally, if you want to surface a logo in Web Report Studio, for example, you do NOT do that via a template.

  Also, you did not indicate your destination of interest (HTML or SASReport or RTF or PDF???) Since you put your preimage in the BODY class, the justification for BODY should impact the image -- I thought the body was centered unless you had a SAS option specifying NOCENTER.

  I generallly use the TITLE method for inserting images because on the TITLE statement, I can specify a justification. There have been several previous postings on using images for logos in the TITLE statement. But again, I wouldn't recommend that method for all the client applications, either, if this IS being run in the context of the BI Platform.

cynthia

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

What is Bayesian Analysis?

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1033 views
  • 0 likes
  • 2 in conversation