如何根据光标位置进行面板缩放? [英] How to perform zooming in a panel according to cursor position?

查看:82
本文介绍了如何根据光标位置进行面板缩放?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!

我想知道如何根据光标位置在面板中缩放图片.
缩放功能应与Win7 Windows Photo Viewer相同.

谢谢!

Hello everybody!

I want to know how to zoom a picture in a panel based on cursor position.
The zoom function should be same as Win7 Windows Photo Viewer

Thanks!

推荐答案

您无法搜索吗?
http://www.codeproject.com/info/search.aspx?artkw=zoom+fixed [^ ]
在具有固定焦点的Windows窗体中缩放和平移 [
Are you unable to search?
http://www.codeproject.com/info/search.aspx?artkw=zoom+fixed[^]
Zooming and panning in Windows Forms with Fixed focus[^]




这是一篇非常不错的文章,解释了VB.NET中所需的过程.您可以轻松地将其适应C#.
平移和缩放非常大的图像 [
Hi,

here is a very nice article explaining the needed procedures in VB.NET. You could easily adapt this to C#.
Pan and Zoom Very Large Images[^]


这篇关于如何根据光标位置进行面板缩放?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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