VB .NET:PictureBox 放大我的图像!
在这个问题我设法将两个 .png 图像合并为一个,然后将结果显示在 pictureBox 图像中。
然而,pictureBox 似乎放大了我的图像!让它变大!
图片框大小为 96x128。 我合并的两个图像的尺寸为 96x128。 pictureBox 的 SizeMode 设置为“Normal”
我注意到,尽管 pictureBox 的图像似乎被缩放,但它被剪切以保持 96x128 矩形。但我不希望它被放大......
谢谢。
resourcesPath 只是我的资源文件夹的主路径。 “Bases”是我从中获取图像的路径中的文件夹。
In this question I managed to combine two .png images into one, and then display the result in a pictureBox image.
However, the pictureBox seems to scale up my image! Makes it bigger!
The pictureBox size is 96x128.
The two images I have combined are 96x128.
The pictureBox's SizeMode is set to "Normal"
I have noticed that even though the pictureBox's image seems to be zoomed, it is cut to keep the 96x128 rect. But I don't want it to be zoomed...
Thanks.
resourcesPath is simply the main path to my resources folder. And "Bases" is the folder in such path where I am taking the images from.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)