文件名称:Queens_ImageControl_VS2005
- 所属分类:
- 图片显示浏览
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 70kb
- 下载次数:
- 0次
- 提 供 者:
- r**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
大图像的缩放和平移,支持大小50MB的图片缩放,效果非常平滑-I recently wrote an article showing a simple method for panning an image. The code worked very well for small to moderate sized images. However, when using very large images, the performance degraded significantly.
That article used a picture box within a panel, and used the auto scroll functionality of the panel to perform scrolling. I received quite a bit of feedback indicating the need for a version that could handle very large images and still pan very smoothly. I also received requests for ideas on how to zoom the image in and out. So, I got to work.
What I came up with is a control that could smoothly pan super-sized images, and also provided zoom functionality. My tests were with a 49MB GIF (7000 x 7000). The performance was very smooth. Of course, the control works equally as well with small images. The control is demonstrated in the included sample project.
This custom control does not use a picture box, nor does it inherit from one. Neither is there a panel or any "a
That article used a picture box within a panel, and used the auto scroll functionality of the panel to perform scrolling. I received quite a bit of feedback indicating the need for a version that could handle very large images and still pan very smoothly. I also received requests for ideas on how to zoom the image in and out. So, I got to work.
What I came up with is a control that could smoothly pan super-sized images, and also provided zoom functionality. My tests were with a 49MB GIF (7000 x 7000). The performance was very smooth. Of course, the control works equally as well with small images. The control is demonstrated in the included sample project.
This custom control does not use a picture box, nor does it inherit from one. Neither is there a panel or any "a
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Queens_ImageControl_VS2005\Queens_ImageControl.sln
..........................\Queens_ImageControl.suo
..........................\Queens_ImageControl
..........................\...................\bin
..........................\...................\...\Debug
..........................\...................\...\.....\Queens_ImageControl.dll
..........................\...................\...\.....\Queens_ImageControl.xml
..........................\...................\DrawingBoard.Designer.vb
..........................\...................\DrawingBoard.resx
..........................\...................\DrawingBoard.vb
..........................\...................\ImageControl.Designer.vb
..........................\...................\ImageControl.resx
..........................\...................\ImageControl.vb
..........................\...................\My Project
..........................\...................\..........\Application.Designer.vb
..........................\...................\..........\Application.myapp
..........................\...................\..........\AssemblyInfo.vb
..........................\...................\..........\Resources.Designer.vb
..........................\...................\..........\Resources.resx
..........................\...................\..........\Settings.Designer.vb
..........................\...................\..........\Settings.settings
..........................\...................\Queens_ImageControl.vbproj
..........................\...................\Queens_ImageControl.vbproj.user
..........................\Test Harness
..........................\............\bin
..........................\............\...\Debug
..........................\............\...\.....\Queens_ImageControl.dll
..........................\............\...\.....\Queens_ImageControl.xml
..........................\............\...\.....\Test Harness.exe
..........................\............\...\.....\Test Harness.xml
..........................\............\Form1.Designer.vb
..........................\............\Form1.resx
..........................\............\Form1.vb
..........................\............\My Project
..........................\............\..........\Application.Designer.vb
..........................\............\..........\Application.myapp
..........................\............\..........\AssemblyInfo.vb
..........................\............\..........\Resources.Designer.vb
..........................\............\..........\Resources.resx
..........................\............\..........\Settings.Designer.vb
..........................\............\..........\Settings.settings
..........................\............\Resources
..........................\............\Test Harness.vbproj
..........................\............\Test Harness.vbproj.user