Hi,
Has anybody an idea to put a stretch property to a picturebox (like the image control) to add some "zoom" function to it?
(I'm trying to do a little drawing section in my app.)
Thanks, Claude.
Printable View
Hi,
Has anybody an idea to put a stretch property to a picturebox (like the image control) to add some "zoom" function to it?
(I'm trying to do a little drawing section in my app.)
Thanks, Claude.
Yeah, put an imagebox inside it and change the imageboxes dimensions on the picture box resize event. If you don't want to do that you can use the streachblt API. Other than that I dont think you can do it.
Ok, thank you Sam.
In fact my purpose is to edit the stretched image (icon in fact); I will try the API, but I think I'll have to redefine the entire "resolution" of my PictureBox (my drawing point should have the same size as a point from the stretched picture, but a pixel is still a pixel...)