[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 496
  • Last Modified:

zooming

techniques/source code  for zooming a form or picture in and out according to scale and percentage(e.g. in drawing or cad softwares) in visual basic programmes
0
modijs
Asked:
modijs
  • 2
  • 2
1 Solution
 
modijsAuthor Commented:
reply if possible with source codes
0
 
mcriderCommented:
If you use the Microsoft Forms 2.0 Object Library, the Image control supports zooming...

To add this to your project, right-click the toolbar and select "Components..." Then select "Microsoft Forms 2.0 Object Library" from the list.

You can then add this image control to your project and set the PictureSizeMode property to 3.

The picture will automatically be enlarged to the height and width of the image object.

To complete the zoom effect, place this image control inside a standard picture control... This picture control acts as the view portal when the image is zoomed...


Hope this helps!


Cheers!
0
 
modijsAuthor Commented:
give more clarrifications
suppose i have made a drawing with circles and lines and etc in vb using graphics methods in vb and this are drawn on form than how to maximize particular area of this drawing on the form. it should be like zooming in the  coreldraw  or pro-e etc softwares
0
 
mcriderCommented:
You would have to capture the drawings on the form an then use the Forms 2.0 Image object to display the captured image...


Check out this microsoft article:

HOWTO: Capture and Print the Screen, a Form, or any Window
http://support.microsoft.com/support/kb/articles/Q161/2/99.ASP?LNG=ENG&SA=MSDN 
 

You can also try another method by using the WANG (KODAK) Image Control.  You can obtain it here:  http://support.microsoft.com/support/kb/articles/Q197/1/29.ASP
 

Cheers!
0

Featured Post

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now