Hi all,
I have parameter variable has type is image, how can I set byte array to this parameter.
Please help.
Best Regards,
Thanh
How to set parameter value is type image
Re: How to set parameter value is type image
Hello, Thanh.
You could use next code to load the image from byte array:
Thank you.
You could use next code to load the image from byte array:
Code: Select all
report.Dictionary.Variables["Image"].ValueObject = Image.FromStream(new MemoryStream(bytes));
Re: How to set parameter value is type image
Hi HighAley,
It run OK now.
Thank you.
Best Regards,
Thanh
It run OK now.
Thank you.
Best Regards,
Thanh
Re: How to set parameter value is type image
Hello, Thanh.
We are always glad to help you.
Let us know if you need our help.
Thank you.
We are always glad to help you.
Let us know if you need our help.
Thank you.