Jpeg Image and Picture Box

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
How can I display a jpeg image on a Picture box or Panel and be able to set
scrollbars to it.
Thanks
-zs
 
Hi ZS,

To get a scrollable picture

Drop a panel on your form and set its AutoScroll property to true. Dropa
PictureBox onto the Panel and set its size to the size of the image. In
..Net 2.0 you can set SizeMode = PictureBoxSizeMode.AutoSize
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top