Hi, Im trying to zoom in on an image. First I make a .bmp from the picturebox.imag e the make the.bmp bigger the put the new .bmp back into the picturebox. All this does is make my image disappear.Why?
Code:
private void btnZoomIn_Click(object sender, EventArgs e)
{
Bitmap a = new Bitmap(pictureBox1.Image.Height * 2, pictureBox1.Image.Width * 2);
pictureBox1.Image = a;
}
Comment