Displaying Large Images

Lanc1988

Contributor
Joined
Nov 27, 2003
Messages
508
Currently I am using the microsoft web browser control (axwebbrowser) to display maps, but I don't like how there are margins on the top and left of white space. I thought maybe I could use a picture box but it doesnt seem to have the setting for scrollbars.

Is there a way to enable scrollbars for the picture box control or is there a better way to do what I would like to do?
 
For simple scenarios where I want the user to be able to scroll around a large picture, I display the picture in a PictureBox that is sized to contain the entire image and embed the picturebox in a Panel with AutoScroll set to true.
 
Back
Top