January 17th, 2007, 09:46 AM
#8
Re: Zoom in & out of an Image within a PictureBox
Very good work Hannes.. I dont want to know how you worked out the ratio's to use but it was good..
Well now i took it and expanded of the matematics a little so now you can adjust the immage anywhere between 25% and 1000$ (1/4 size up to 10 times)
I also added a timer on the enlarge and shrink to slow it down a little. Have a go..
Gremmy..
Attached Files
Articles VB6 : Break the 2G limit - Animation 1 , 2 VB.NET : 2005/8 : Moving Images , Animation 1 , 2 , 3 , User Controls
WPF Articles : 3D Animation 1 , 2 , 3
Code snips : VB6 Hex Edit , IP Chat , Copy Prot. , Crop, Zoom : .NET IP Chat (V4) , Adv. ContextMenus , click Hotspot , Scroll Controls
Find me in ASP.NET. , VB6. , VB.NET , Writing Articles , My Genealogy , Forum
All VS.NET: posts refer to VS.NET 2008 (Pro) unless otherwise stated.
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Click Here to Expand Forum to Full Width