3
Answers

Image Class

Ask a question
zseml

zseml

20y
3.2k
1
I'm loading a bitmap from a URL location, and I'm trying to resize the picture to fit onto my application -- how would this be done? This is my code thus far: WebClient myClient = new WebClient(); Bitmap imgFile = new Bitmap(myClient.OpenRead(@"http://www.url.com/picture.jpg")); pbImage.Image = (Image)imgFile; // PictureBox Any help would be greatly appreciated. Thanks.

Answers (3)