在vb.net中使用图片框zoomin和zoomout [英] Using Picture box zoomin and zoomout in vb.net

查看:259
本文介绍了在vb.net中使用图片框zoomin和zoomout的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Iam加载图片框,我们如何在图片框中缩放和缩小图片,在vb.net中是否有任何解决方案



这是加载图片的代码



PictureBox1.Load(D:\ test.jpg)

PictureBox1.SizeMode = PictureBoxSizeMode.StretchImage

Iam loading Picture Box, How can we zoomin and zoomout image in picture box, Is there any solution in vb.net

Here is the code for loading image

PictureBox1.Load(D:\test.jpg)
PictureBox1.SizeMode = PictureBoxSizeMode.StretchImage

推荐答案

我在搜索时找到了很好的解决方案和示例,下面链接我的帮助你很多

如何在vb.net中使用滚轮放大图片框

模拟图像在运行时缩放图片框控件

使用PictureBox更改您的图片,以便您可以使用鼠标滚轮进行缩放
I found good solutions and examples while searching, below link my help you a lot
How to zoom in a Picturebox with scrollwheel in vb.net
Emulate Image Zooming in a PictureBox Control at Runtime
Magnify your pictures using a PictureBox so that you can zoom with the Mouse Wheel


这篇关于在vb.net中使用图片框zoomin和zoomout的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆