Usage Note 24304: Can I get SAS/GRAPH images in my titles with ODS PRINTER?
See FAQ 4213 about placing an image in a title
by using ESCAPECHAR= in SAS 8.2 and later.
Under SAS/GRAPH software, as of SAS 9.1.3,
in-line formatting is not directly supported.
This is because SAS/GRAPH creates the titles, not ODS.
The workaround
is to trick ODS into supplying the title and
then use SAS/GRAPH to draw the graph. Here is an example
that you can use:
ods escapechar='^';
/* Draw text and graph on the same page: */
ods pdf startpage=never;
/* Specify the title: */
title "^S={preimage='image.png'}My title";
/* We don't want text, so make text invisible: */
ods pdf text="^S={foreground=white}dummy text";
/* Turn off title so it's not drawn by SAS/GRAPH: */
title;
/* Set vsize= for graph so it won't extend into title: */
goptions hsize=6in; /* depends on size of image */
/* Add your SAS/GRAPH code below here */
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: | 2007-08-28 14:45:45 |
| Date Created: | 2005-06-21 12:18:48 |