Home > Net >  Save zoomed image in a picturebox?
Save zoomed image in a picturebox?

Time:08-26

I'm a newbie in vb.net (windows app) programming. How can I save a zoomed image in a picturebox.

See, I have a panel and put a picturebox (set to zoom) inside and set the panel to autoscroll to accomodate the size of the image. I can zoom in and out of the image. I can save the picture as is using a memorystream and save it to the database (access). But the thing I don't know is how to save the current size of the image to the size and current position of the image relative to the size of the panel.

This is what my project looks like. See I can load an image and save the picture as is to the database.

SO73442247

That's it all if that is what you are after.

  • Related