D Dica Jun 14, 2005 #1 i've got an image too large to fit inside my picture control. how do i get horizontal and vertical scroll bars?
i've got an image too large to fit inside my picture control. how do i get horizontal and vertical scroll bars?
B Bob Powell [MVP] Jun 14, 2005 #2 Place the PictureBox control inside a Panel container with autoscroll turned on and auto-size enabled in the PictureBox. -- Bob Powell [MVP] Visual C#, System.Drawing Find great Windows Forms articles in Windows Forms Tips and Tricks http://www.bobpowell.net/tipstricks.htm Answer those GDI+ questions with the GDI+ FAQ http://www.bobpowell.net/faqmain.htm All new articles provide code in C# and VB.NET. Subscribe to the RSS feeds provided and never miss a new article.
Place the PictureBox control inside a Panel container with autoscroll turned on and auto-size enabled in the PictureBox. -- Bob Powell [MVP] Visual C#, System.Drawing Find great Windows Forms articles in Windows Forms Tips and Tricks http://www.bobpowell.net/tipstricks.htm Answer those GDI+ questions with the GDI+ FAQ http://www.bobpowell.net/faqmain.htm All new articles provide code in C# and VB.NET. Subscribe to the RSS feeds provided and never miss a new article.