Usage Note 24229: Place images in titles routed to ODS PDF
To place images in the title or footnote area of a PDF file, use the PREIMAGE= or POSTIMAGE= style attribute as shown in the following code:
ods escapechar='^';
options nodate nonumber orientation=portrait;
ods pdf file="images.pdf" notoc;
title j=l '^S={preimage="saslogo.jpg"}'
j=r '^S={postimage="saslogo.jpg"}';
footnote j=l '^S={preimage="saslogo.jpg"}'
j=r '^S={postimage="saslogo.jpg"}';
proc print data=sashelp.cars(obs=3) noobs;
run;
ods _all_ close;
See SAS Note 46333 for the recommended attributes for images included in PDF files generated by ODS.
See
SAS Online Documentation for additional reference regarding the ODS ESCAPECHAR statement and the use of inline style formatting commands.
Operating System and Release Information
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Usage Note |
Priority: | low |
Topic: | Query and Reporting ==> Creating Reports ==> Graphical SAS Reference ==> ODS (Output Delivery System) System Administration ==> Printing
|
Date Modified: | 2005-06-20 17:16:32 |
Date Created: | 2005-02-15 10:15:37 |