Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Image too big for PictureBox

Status
Not open for further replies.

adalli

Programmer
Feb 8, 2005
44
MT
Hi,

I have a form which I am opening as Maximum. In this form there is a Picturebox into which I load an image during the form_LOad event. The Picturebox is resized to cover all the form. The problem is that if the image is big, I will only see part of the image.

Is there a way how I can have the picturebox to be scrollable?

Many thanks in advance for your help,
 
AFAIK, the PictureBox control does not have scrollbars - you can set the PictureBoxSizeMode property to PictureBoxSizeMode.StretchImage to force the image to shrink to the size of the PictureBox if you want to see it all.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top