In this short how-to I want to share with you the information that will help you to add SVG image to your jrxml report.
To render SVG image in iReport:
- please try to use expression that I quote below:
- in the path to the image use double slashes (I've tested this report on windows, please check the requirements to the slashed in the path for Linux environment)
I've attached a sample of the report with the test svg image to the article.
To run it correct the path to the test image, use an empty data source and then preview this report.
Thank you for your attention to this article.
Alex
Recommended Comments