Home » Category » Microsoft Visual Basic

Microsoft Visual Basic: Zoom & pan in a picturebox

202| Tue, 05 Feb 2008 10:31:00 GMT| sanjayadlakhiya| Comments (2)
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.

Keywords & Tags: zoom, pan, picturebox, microsoft, visual basic, vb

URL: http://www.programmerbase.com/visual-basic/560706/
 
«« Prev - Next »» 2 helpful answers below.
Did you try using "Annotations" supported by Wang Img. controls?

ravikiran | Sat, 10 Nov 2007 02:11:00 GMT |

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.

hbb | Sat, 10 Nov 2007 02:12:00 GMT |

Microsoft Visual Basic Hot Answers

Microsoft Visual Basic New questions

Microsoft Visual Basic Related Categories