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
modijsAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.