Condition based on culture string?

Stimulsoft Reports.NET discussion
Post Reply
Artimidor
Posts: 38
Joined: Thu Jan 09, 2020 8:15 am

Condition based on culture string?

Post by Artimidor »

I've tried to find some sort of system variable which contains a culture string like "de", "at", "it" etc. which could be used in a condition to print or not print e.g. a language-specific picture. So far I haven't found anything in this respect. Is there any such string somewhere, which can be accessed at design time?

Thanks in advance for a pointer!
Max Shamanov
Posts: 759
Joined: Tue Sep 07, 2021 10:11 am

Re: Condition based on culture string?

Post by Max Shamanov »

Hello,

you can try to use the variable with expression with the following code:

Code: Select all

this.Culture
But it can only work in compile mode. Please see the attached report.

thank you.
Attachments
Culture.mrt
(3.41 KiB) Downloaded 65 times
Post Reply