I've drawn a bitmap using system.drawing functions:
VB Code:
  1. Dim bmp As Bitmap = New Bitmap(PictureBox1.Width, PictureBox1.Height, Drawing.Imaging.PixelFormat.Format24bppRgb)
  2. Dim g As Graphics = Graphics.FromImage(bmp)
, used g.drawline, g.drawrect etc to build the image, and then finished with this:
VB Code:
  1. PictureBox1.Image = bmp
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