DATA Step, Macro, Functions and more

adding images to the tabulate report

Reply
Contributor
Posts: 39

adding images to the tabulate report

Hello, I hope to find the answers to some questions.

 

Dears, I add images to the tabulate report, but can not change the size of the image, it becomes kind of bigger than I need. How can I change it?

 

the code is below;

 

proc tabulate data=newlib.bookdb;
	class publisher section;
	classlev publisher / style={ background=yellow font_style=italic postimage=$ggg. width=10 height = 10};
	classlev section  / s=[ background=green];
	var saleprice;
	table (section),( publisher)*saleprice={s=[foreground=white background = red]} / box='Main' ;
run;
proc format ;
	value $ggg 
		'AMZ Publishers' = '/folders/myfolders/1_uploaded_files/Armenia_template.jpg';
run;	
SAS Super FREQ
Posts: 8,868

Re: adding images to the tabulate report

Hi:
PROC TABULATE will not automatically scale your image for you. The best you can do is make sure that the JPG is the size you want before you put it into the TABULATE output.

cynthia
Ask a Question
Discussion stats
  • 1 reply
  • 363 views
  • 0 likes
  • 2 in conversation