Help using Base SAS procedures

Help Centering Corporate Logo using Proc Template

Reply
Contributor
Posts: 25

Help Centering Corporate Logo using Proc Template

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;

SAS Super FREQ
Posts: 8,869

Help Centering Corporate Logo using Proc Template

Posted in reply to Dick_Shryock

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

Ask a Question
Discussion stats
  • 1 reply
  • 147 views
  • 0 likes
  • 2 in conversation