Adding Images to RTF Output

One of the quickest and easiest ways to dress up your RTF reports is to drop in a logo or graphic on each page. All you need to do is find a JPEG or PNG or other type of graphic and add a few special instructions to use your graphic. We've already seen the use of ODS ESCAPECHAR to control the page numbering. Now we're going to use it to insert a logo in the SAS title. We're using the older syntax that works in either SAS 9.1.3 or SAS 9.2, because the newer function-call version of the ESCAPECHAR syntax does not allow the PREIMAGE= attribute inside the style function call.

The PREIMAGE= attribute in the following TITLE statement specifies the filename of an image to use in the title. The filename specification must ...

Get Output Delivery System: The Basics and Beyond now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.