Home » Category » Microsoft Visual Basic

Microsoft Visual Basic: Zooming on VB.net

100| Mon, 07 Jan 2008 12:53:00 GMT| ismael_ed| Comments (1)

How I do zoom in/out at image inside of a PictureBox?

Keywords & Tags: zooming, vb.net, microsoft, visual basic, dotnet

URL: http://www.programmerbase.com/visual-basic/560805/
 
«« Prev - Next »» 1 helpful answers below.

Hi,

You can zoom in/out image in picturebox control like the following example code. Hope this can satisfy your requirement.If you have further question, please feel free to let me know.

Code Snippet

Me.PictureBox1.SizeMode = PictureBoxSizeMode.StretchImage

Me.PictureBox1.Size = New Size(width, height)

Me.AutoScroll = True

Thanks for your question

riqueldong–msft | Tue, 02 Oct 2007 09:46:00 GMT |

Microsoft Visual Basic Hot Answers

Microsoft Visual Basic New questions

Microsoft Visual Basic Related Categories