开发者

How to enlarge a picture in a picturebox

I want to click a button to enlarge the picture in a picture box. How can I 开发者_StackOverflow社区do that?


I'm not sure exactly what you're looking for but I think you'll find the control presented in this CodeProject article useful:

A scrollable, zoomable, and scalable picture box

The control extends PictureBox and adds a number of nice features, such as zooming and panning using a context menu and a 'thumbnail view' window.

If you can't use the control itself I'm sure you;ll benefit from studying the source.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜