The SAS Output Delivery System and reporting techniques

format variabels as images in ODS

Reply
Regular Contributor
Regular Contributor
Posts: 170

format variabels as images in ODS

Hello all;
I would like to incorporate different graphs in various reports.
The problem I have is that I see mention of pre & post-image but is there a way so that instead of

Var
A
B
C

would be replaced with images that correlate to those values through the use of a proc format statement or the like?

If I use pre/post image I just get the first image.

Many thanks in advance.

Lawrence
Regular Contributor
Regular Contributor
Posts: 170

Re: format variabels as images in ODS

Resolved some of the issue, but I still get a variable listed so that I get graphic A with a right next to it.

Thanks again.

Lawrence
SAS Super FREQ
Posts: 8,864

Re: format variabels as images in ODS

Hi:
One thing you can do is turn the variable foreground color into the same color as the background color:
[pre]
define myvar / display style={preimage=$myimg. foreground=white background=white}
[/pre]

cynthia
Regular Contributor
Regular Contributor
Posts: 170

Re: format variabels as images in ODS

Posted in reply to Cynthia_sas
Cynthia;
That does the trick. Once again thank you for your ever useful instructions!
~Lawrence
Ask a Question
Discussion stats
  • 3 replies
  • 136 views
  • 0 likes
  • 2 in conversation