02-29-2012 09:24 AM
Here is my Code:
Thanks in advance for any help given
Maine Medical Center
proc template ;
define style DicksStandard;
class body / preimage=\\sasmeta1\projects\mmc\warehouse\wdata\datasources\images\MMC_LOGOsidebyside_Small.GIF;
02-29-2012 09:33 AM
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.