Zoom & pan in a picturebox
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.
Re: Zoom & pan in a picturebox
Did you try using "Annotations" supported by Wang Img. controls?
Re: Zoom & pan in a picturebox
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.