May any one please tell me that how one can dynamically change image control dimension(width and height) in stimulsoft.
I have 2 url of one project,but they both belong to different companies.User interface is same for both,but they both have different logo with different dimensions,i cannot do coding for 2 diiferent projects so i want to set logo width and height dynamically..
please suggest me
Thanks in advance
Thanks
How to set image control width and height dynamically in stimulsoft
How to set image control width and height dynamically in stimulsoft
Hello,
You can use the following code for this:
Thank you.
You can use the following code for this:
Code: Select all
StiImage image = report.GetComponentByName("Image1") as StiImage;
image.Width = 100;
image.Height = 80;