Winfrom PictureBox 设置图片自适应

时间:2017-05-12 15:25:09   收藏:0   阅读:1083

 

初始状态

技术分享

 

 

1  Bitmap bm = new Bitmap(Image.FromStream(System.Net.WebRequest.Create(new Uri(result.Result)).GetResponse().GetResponseStream()), this.wxImg.Width, this.wxImg.Height);
2                         this.wxImg.Image = bm;

 

效果

技术分享

 

原文:http://www.cnblogs.com/DataBase-123/p/6845632.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!