Click to See Complete Forum and Search --> : Zoom & pan in a picturebox


Sanjay Adlakhiya
May 27th, 1999, 01:49 AM
Dear Sir,

I have embedded a picturebox control in a form in Visual Basic. After loading an image in the picturebox, I want to have
the ability to pan & zoom the image. I also want the facility of scrolling the image using scrollbars. How do I do this?

Please provide me the source code for doing this.

My need is very urgent, so please reply as soon as possible.

I need this ability since I have failed to draw on the WANG Image Edit control using the Win32 API drawing functions.
Please help me.

Ravi Kiran
May 27th, 1999, 02:48 AM
Did you try using "Annotations" supported by Wang Img. controls?

August 9th, 1999, 01:16 PM
I did had a problem of this sort some time back. I tried to adjust the coordinates that the picture pane shows. Try it may be it may solve your problem.