调整图片框大小并从图片框中删除图像 [英] Resizing picture box and Deleting Image from picture box
本文介绍了调整图片框大小并从图片框中删除图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
将SizeMode设置为Stretch,然后如果更改PictureBox的宽度和高度,则图像大小将与PictureBox Size相同.
谢谢.
i am developing a windows application.i have a picture box.according to end user preference picture box size may increase or decrease. image size should same as picture box size.how to do that at runtime and also how to delete image from picture box.can any one help?
解决方案
You have to set SizeMode as stretch and then if you change the width and height of PictureBox, the image size will be same as PictureBox Size.
Thanks.
这篇关于调整图片框大小并从图片框中删除图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文