Question zooming a picture..

noam309

Member
Joined
Aug 2, 2006
Messages
9
Location
ISRAEL
Programming Experience
Beginner
Hi ,

I program for wm 2003 -pocket pc. in vbnet 2005

I have a picturebox which I load images into it with bottons click,
I have another 2 bottons called zoom in , and zoom out ,
what should I do with this bottons that it will function as zoom in and zoom out.

thanks in advance!
:confused:
 
I've never tried this in a mobile app but in WinForms you can put a PictureBox inside a Panel. Set the Image to auto-size to the PictureBox and then you can simply resize the PictureBox. The Panel provides a constantly-sized view port so you'll appear to zoom in and out on the section of the PictureBox that's visible.
 
Back
Top