image with expression

Stimulsoft Reports.NET discussion
Post Reply
bdemeure
Posts: 2
Joined: Tue May 13, 2025 7:15 am

image with expression

Post 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 498 times
But the image is not rendered
Is it the right way to do that ?

(Stimulsoft.Reports.Web.NetCore 2024.4.5)
Lech Kulikowski
Posts: 7331
Joined: Tue Mar 20, 2018 5:34 am

Re: image with expression

Post by Lech Kulikowski »

Hello,

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

Thank you.
bdemeure
Posts: 2
Joined: Tue May 13, 2025 7:15 am

Re: image with expression

Post 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 ;)
Lech Kulikowski
Posts: 7331
Joined: Tue Mar 20, 2018 5:34 am

Re: image with expression

Post by Lech Kulikowski »

Hello,

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

Thank you.
Post Reply