_____________________
| ___________ |
| Name : |___________| |
|____________________ |
Lets say i have an image like above stored on path c:\desktop\img.bmp
1] I want to import this image into my report
2] Now my requirement is to add a text into name box. That is my text should appear over image. I want to provide manually cordinates and text.
how to do this... thanks
How will i be able to do this ?
Which ODS destination will you use? The options may be destination specific.
If you intend to place text from a data set or your report then this will likely fail as the "image" is that and you can't add text to an external image file.
Depending on exactly how you create your report it may well be possbile to create appearance similar to what you want within SAS with style options but more details would be needed to provide details.
HTML ODS i am using.
Actually my dataset has employee_name variable which contains various employee names
So report requirement is employee name should appear in name box and then beneath it has all the detail of employee.
I gonna use macro to let appear employee name automatically at given cordinates over image.
This is all about.
Depending on what your report consists of you might consider either Proc Report or Tabulate with your employee_name as a PAGE variable and provide style overrides to place a the label "Name:" before the value and box around the text.
I suspect you are not going to have much luck "overprinting" text onto an image unless you are 1) sending the report to a printer and 2) have very good knowledge of that printer's control codes.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.