Page 1 of 1

image with expression

Posted: Tue May 13, 2025 7:35 am
by bdemeure
Hi,
I want to put an image on a report with a conditionnal content
The condition must return an image from resources

I tried the very simple following expression :
2025-05-13_09h21_33.png
2025-05-13_09h21_33.png (15.7 KiB) Viewed 516 times
But the image is not rendered
Is it the right way to do that ?

(Stimulsoft.Reports.Web.NetCore 2024.4.5)

Re: image with expression

Posted: Tue May 13, 2025 9:20 pm
by Lech Kulikowski
Hello,

You can use two Image components and show only the necessary by condition.

Thank you.

Re: image with expression

Posted: Wed May 14, 2025 4:17 pm
by bdemeure
yes Lech
it's a possibility but a little more difficult to adjust the layout
this will be a fallbak if nobody have a solution for my orginal question ;)

Re: image with expression

Posted: Wed May 14, 2025 9:46 pm
by Lech Kulikowski
Hello,

Unfortunately, at the current moment, it is not possible to set the resource image conditionally in the expression..

Thank you.