October 2009
Beginner
636 pages
13h 35m
English
In Chapter 4 and Chapter 5, we showed how to insert an image into either an RTF or PDF file using ODS ESCAPECHAR syntax. Another way to insert an image into your output is with a style template. The PREIMAGE= (or POSTIMAGE=) style attribute would be used for the style element of interest. You could associate the image with a title, footnote, header, or even a data cell. In our template, designed for ODS PDF, the image is associated with the "body" style element, to ensure that it appears only once in the document.
proc template; define style printerlogo; parent=styles.printer; style body from body / preimage='c:\books\ods\logo.jpg'; end; run; ODS PDF FILE="c:\temp\EditionSales_18_18.pdf" STYLE=Printerlogo ...
Read now
Unlock full access