[RESOLVED] [2005] Image with zoom capabilities
I've drawn a bitmap using system.drawing functions:
VB Code:
Dim bmp As Bitmap = New Bitmap(PictureBox1.Width, PictureBox1.Height, Drawing.Imaging.PixelFormat.Format24bppRgb)
Dim g As Graphics = Graphics.FromImage(bmp)
, used g.drawline, g.drawrect etc to build the image, and then finished with this:
Now I need to be able to zoom in on a section of the image for more detail. I remember seeing something regarding scaling of images, but I haven't been able to find anything useful googling the net. The zoom functionality does not need to be excellent (anything comparable to paint would be fine).
Thanks in advance :)
Re: [2005] Image with zoom capabilities
Take a look at []url=http://www.vbforums.com/showthread.php?t=386181&highlight=zoom+imagethis thread[/url]. I think this will produce what you want. Make sure you go to the link this thread points you to.
Re: [2005] Image with zoom capabilities
Thank you very much... I should've looked more throughly on this site before I posted...