CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 1999
    Location
    Mumbai, India
    Posts
    8

    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.



  2. #2
    Join Date
    May 1999
    Location
    Omika, Japan
    Posts
    729

    Re: Zoom & pan in a picturebox

    Did you try using "Annotations" supported by Wang Img. controls?


  3. #3
    Guest

    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.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured