zseml

zseml

  • NA
  • 12
  • 0

Image Class

Sep 9 2004 5:53 PM
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)