Using enum value in a expression

Stimulsoft Reports.JS discussion
Post Reply
pintegral
Posts: 2
Joined: Tue Jun 06, 2023 7:43 am

Using enum value in a expression

Post by pintegral »

In the designer, we want to assign the value of a variable to the docker style of an image component. How to do that? The variable has to be integer or string? How to refer to the StiDockStyle values in the variable?

Thanks!
Lech Kulikowski
Posts: 6237
Joined: Tue Mar 20, 2018 5:34 am

Re: Using enum value in a expression

Post by Lech Kulikowski »

Hello,

It can be the string with the following value:
Stimulsoft.Report.Components.StiDockStyle.Top (Left, Right, Bottom)

Thank you.
Post Reply