Page 1 of 1

Image Color Change

Posted: Fri Dec 15, 2017 3:26 pm
by mattrj
Hi,

I'm using Microvellum and am curios if there is a way to adjust image color based on what data it is pulling. The current version we are running of Stimulsoft Reports is 2017.1.6.0.

Currently our images are coming from the Data Column and we are using both WMFStream and WMFStreamFace6. I would like to change the color of the image of the Face6 from black to red to give our operators more information on the secondary machining. In our industry the Face 6 means machining to be done on the opposite side of a part.

If anyone could help us that would be great, it's a small thing, but the more information we can give our coworkers the better.

Thanks,
Matt

Re: Image Color Change

Posted: Thu Dec 21, 2017 3:12 pm
by Alex K.
Hello,

You can try to use the Condition in which set necessary color depends of your value.

Thank you.

Re: Image Color Change

Posted: Wed Jan 17, 2018 6:05 pm
by tishwMV
I'm using Microvellum just as mattrj is

I am a little familiar with the condition for making text change color but would that be the same to a data column like an image?

I see here how to do it for text: https://stimulsoft.com/en/documentation ... conditions

I believe mattrj is looking for a way to have the black lines on the image display as red rather than a background color.

Here's what I got from using the following conditions.

Re: Image Color Change

Posted: Thu Jan 18, 2018 9:05 pm
by Alex K.
Hello,

Thank you for your information.

Re: Image Color Change

Posted: Thu Jan 18, 2018 9:22 pm
by tishwMV
Is there not a way to change the color?

Re: Image Color Change

Posted: Thu Jan 18, 2018 9:26 pm
by Alex K.
Hello,

Sorry, maybe we did not exactly understand your question. Could you explain your issue in more details?
You can use Condition for this case.

Thank you.

Re: Image Color Change

Posted: Thu Jan 18, 2018 10:39 pm
by tishwMV
Is there a way to set a condition on an image? If X is true then display X otherwise display X?

Re: Image Color Change

Posted: Fri Jan 19, 2018 9:26 am
by Alex K.
Hello,

Do you need show different images? In this case - you can place two Image components and by Condition show only necessary.

Thank you.

Re: Image Color Change

Posted: Fri Jan 19, 2018 6:38 pm
by tishwMV
Alex,

Can you show me an example of how you'd do a condition for an image like that?

Re: Image Color Change

Posted: Mon Jan 22, 2018 6:41 am
by Alex K.
Hello,

You can check your column with image as
DataSourceName["ImageColumnName"] == DBNull.Value

and set the option "Component Is Enabled" to false

Thak you.