|
-
Jul 2nd, 2003, 12:26 PM
#1
Thread Starter
Lively Member
GDI+ image zoom
Hey guys, I rarely have to deal with images so excuse my noobness. Anyway I downloaded the 101 examples from MS for vb.net and opened the GDI image manipulation.
' Make the PictureBox dimensions larger by 25% to effect the Zoom.
picImage.Width = CInt(picImage.Width * 1.25)
picImage.Height = CInt(picImage.Height * 1.25)
This zoom works great, the only problem is that it increases the size of the picturebox. I want to ZOOM in and out on the image, leaving the picturebox the same size. Anyone have any ideas?
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
|