1
Answer

load image

ali yahyaee

ali yahyaee

11y
900
1
hi
I load image by this line
            Image pageimage = Image.FromFile("Mohr.jpg");

                imagebrick = gr.DrawImage(pageimage, new RectangleF(1, 1, 100,200), BorderSide.None, Color.Transparent);


I load image in bin and debug folder and also add it in application folder in setup project.
but somethimes in some  computer's see this error!



why this code don't work always in some computer's?
what's the best code?

Answers (1)