Using expression to set an image

Stimulsoft Reports.NET discussion
Post Reply
NedShopov
Posts: 2
Joined: Tue Nov 27, 2018 11:16 am

Using expression to set an image

Post by NedShopov »

Hello all,
So i have an image encoded as base64 string on my json datasource. I am trying to make an image expression in order to set the image component to the one passed on the json or to a default one if the json property is empty string.
{(Details.LogoImage != "") ? Details.LogoImage : imagenotonfile}.
Where imagenotonfile is an image variable. It is not working, so obviously I am doing something wrong. What is the proper way of setting this expression?
Lech Kulikowski
Posts: 6263
Joined: Tue Mar 20, 2018 5:34 am

Re: Using expression to set an image

Post by Lech Kulikowski »

Hello,

Please send us a sample report with test data which reproduces the issue for analysis

Thank you.
Post Reply