Hi,
Is it possible by an event to present a form that ask the end user to choose an image file ?
My second thinking is this one. It is possible to present a image on a form, and to choose an image with the "image" property. Is it possible to show the same dialogbox by an event ?
Thanks in advance.
Arnaud
is it possible to open a dialogbox to choose an image file
Re: is it possible to open a dialogbox to choose an image fi
Hello,
You can use the following code:
Thank you.
You can use the following code:
Code: Select all
OpenFileDialog openFileDialog1 = new OpenFileDialog();
if(openFileDialog1.ShowDialog() == DialogResult.OK)
{
Image1.Image = Image.FromFile(openFileDialog1.FileName);
}
this.Render();
- Attachments
-
- ReportSample.mrt
- (5.23 KiB) Downloaded 322 times
Re: is it possible to open a dialogbox to choose an image fi
Hi Alex,
Happy New Year to the support team of Stimulsoft !
Thanks for your solution. It works very well !
Arnaud
Happy New Year to the support team of Stimulsoft !
Thanks for your solution. It works very well !
Arnaud
Re: is it possible to open a dialogbox to choose an image fi
Hello
We are always glad to help you!
Please let us know if you need any additional help.
Thank you.
We are always glad to help you!
Please let us know if you need any additional help.
Thank you.