|
-
Mar 21st, 2000, 06:11 AM
#1
Thread Starter
Junior Member
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.
-
Mar 21st, 2000, 07:31 AM
#2
Frenzied Member
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.
-
Mar 21st, 2000, 09:36 AM
#3
Thread Starter
Junior Member
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...)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|