有这么一个应用:在一个比较小的窗口显示一个比较大的图片,怎么自动弄出来一个滚动条阿?大家谁有思路?
谢谢!图片是显示在PictureBox中的
谢谢!图片是显示在PictureBox中的
解决方案 »
- VS到底选那个版本啊呢,,?
- c#初学求教---如何接受sql查询结果
- 顶者有分!WinForms登录窗体如何自动登录
- Server Error in '/nb_flag' Application. Cannot find table 0.
- 简单聊天系统的问题
- c# 如何用xml来读图片和存图片?
- c#输出的小问题
- 有关.NET动态调用Win32DLL的问题(C#)
- 文件读写问题
- 很急,很急,很急--关于treeview问题,100分求教
- 我想在一个PictureBox 中放上label,label设为透明,再放上按钮,label设为前置,label挡住了按钮,怎样才能使Label透明显示后面的按钮呢?
- 程序双击运行正常,放入自启动,开机时错误
CenterImage The image is displayed in the center if the PictureBox is larger than the image. If the image is larger than the PictureBox, the picture is placed in the center of the PictureBox and the outside edges are clipped.
Normal The image is placed in the upper-left corner of the PictureBox. The image is clipped if it is larger than the PictureBox it is contained in.
StretchImage The image within the PictureBox is stretched or shrunk to fit the size of the PictureBox.
Zoom The size of the image is increased or decreased maintaining the size ratio.
SizeMode 这些属性都吧能满足你的要求,因此你需要重写一个自己的控件 去实现你的功能
用C#开发的图片控件,功能类似acdsee;
支持各种图片的浏览,放大,缩小,平移等功能;
源代码参考:http://shop.paipai.com/359073000
谢谢大家!