Hello;
I am trying to convert RTF file which contains graphs created by SAS 9.4 to PDF , but after conversion it seems there are issues e.g. dotted lines seems to be solid. (before it was fine). Actually I tried to change version of EMF to older version using code and it works. But it is strange because during outputting the graphs into RTF I haven't changed outputfm from STATIC.
Thank you.
Best regards.
Thank you Cynthia.
Actually I am using batch script which contains exe file for conversion. For older SAS versions it works normally. It seems the issue related to Adobe mostly.
Are you running the code used to previously generate an RTF document and only changing the ODS destination to PDF?
The most likely cause of characteristics such as line color or type changing is the style used. ODS PDF and ODS RTF use different ODS style definitions. I would start by adding an a specific style to the PDF destination that matches the one used for RTF.
For any production work I always specify the ODS style for any document because others running my code may default to a different appearance and go down a similar rabbit-hole of "my output doesn't match".
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.