How can I get scrollbars on Picturebox

前端 未结 5 1633
星月不相逢
星月不相逢 2020-11-27 05:32

I have PictureBox picture.

I use:

picture.Size = bmp.Size;
picture.Image = bmp;

Let\'s say there are two integers

5条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-27 05:46

    Here's a project where a guy built an ImagePanel user control that you can drop onto a form; it gives you scrollbars and zoom capability.

    http://www.codeproject.com/KB/graphics/YLScsImagePanel.aspx

提交回复
热议问题