Hello to all,
the client I work for asks for the possibility of having certain information in a pdf file, including a series of images.
My problem is that at the moment I can't resize the images to insert because some of them are very large.
Can you help me?
Please post the code as text using the appropriate icon, and post images as such.
Have you tried this syntax?
ODS text='^{STYLE [preimage=''c:\temp\saslogo.png?height=2cm&width=14cm'']}';
Please post the code as text using the appropriate icon, and post images as such.
Have you tried this syntax?
ODS text='^{STYLE [preimage=''c:\temp\saslogo.png?height=2cm&width=14cm'']}';
Thanks, i resolved
HELLO, TO BE ABLE TO HAVE ALL THE COLUMNS OF THE SAME SIZE, HOW CAN YOU DO IT? I USE THIS CODE BUT EACH COLUMN TAKES ITS OWN SIZE ACCORDING TO THE LENGTH OF THE VALUE IT CONTAINS ... CAN YOU HELP ME?
CODE:
proc report data=ESTRAZIONE_1 ls=150 nowd missing headline spacing=1
style(REPORT)={frame=box font_face=Arial}
style(REPORT)={outputwidth=100%
cellpadding=2pt}
style(HEADER)={background=#8FBC8F}
style(COLUMN)={foreground=#000000
background=WHITE}
style(column)={cellheight=0.2in};
column BIRDSPECIES_NAME_DESCRIPTION
TO_DATE
PROTECTIONRULE_DESCR
REGIONAL_PROTECTION
;
define BIRDSPECIES_NAME_DESCRIPTION / display ;
DEFINE PROTECTIONRULE_DESCR /DISPLAY;
DEFINE REGIONAL_PROTECTION /DISPLAY;
define TO_DATE/ display ;
run;
Something like
define BIRDSPECIES_NAME_DESCRIPTION / display style(column)=[cellwidth=.5in] ;
specifies the width for a particular column. Repeat as needed. You can use other units of measure such as CM or MM if you don't like inches.
If the total of the column widths exceeds your page width SAS will adjust something and may not look quite as desired.
Thank you for your suggestion
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.