开发者

How to enlarge a picture in a picturebox

开发者 https://www.devze.com 2022-12-26 19:36 出处:网络
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 presente

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

精彩评论

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