在vb.net的图片框中滚动图像 [英] scroll image in picture box in vb.net

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

问题描述

大家好,
我想在图片框中滚动以滚动和裁剪图像,但是当我使用面板滚动时,裁剪框/矩形就可以在图片框大小范围内移动...我该如何解决这个问题...

谢谢您

Hello all,
I want to have scroll in my picture box to scroll and crop image but when i use panel for scroll my crop box/rectangle on able to move within picture box size... how can i solve this problem...

Thanking You

推荐答案

将面板的AutoScroll属性设置为"True"
Set the AutoScroll property of the panel to "True"



浏览CodeProject上的这些文章-
在VB.NET中平移/滚动图像 [ ^ ]
平移和缩放非常大的图像 [
Hi,
Go through these articles on CodeProject-
Pan/scroll an image in VB.NET[^]
Pan and Zoom Very Large Images[^]


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

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