Relative path for an image in a report
Posted: Wed Mar 17, 2010 10:55 am
Hello,
when adding an image in a report with StimulReport WPF, the absolute path of the image is saved in the report. This generates problems when the designed of the report is not made in the same machine as its use (i.e. when used in a Web server).
What would be nice is the possibility to have relative path for images, where the root path is the path of the .mrt file.
Actually, I can change the path of the image, when editing manually the .mrt file. Unfortunately, the root path is not set to the path of the .mrt file, so it doesn't work correctly.
Patrick
when adding an image in a report with StimulReport WPF, the absolute path of the image is saved in the report. This generates problems when the designed of the report is not made in the same machine as its use (i.e. when used in a Web server).
What would be nice is the possibility to have relative path for images, where the root path is the path of the .mrt file.
Actually, I can change the path of the image, when editing manually the .mrt file. Unfortunately, the root path is not set to the path of the .mrt file, so it doesn't work correctly.
Patrick