ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 How to change the zoom direction
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Eric

18 Posts

Posted - Oct 21 2013 :  17:27:19  Show Profile  Reply
Hi,
May I change the direction in zoom method,
ex. mouse move forword then zoom in,
mouse move backword then zoom out.
Thanks

w2m

USA
1990 Posts

Posted - Oct 21 2013 :  18:41:54  Show Profile  Reply
What do you mean by mouse move forward .. backward?

In any event, just change the ImageEnView.Zoom.

Forward: ImageEnView.Zoom := ImageEnView.Zoom + 25;
Backward: ImageEnView.Zoom := ImageEnView.Zoom - 25;

William Miller
Adirondack Software & Graphics
Email: w2m@frontiernet.net
EBook: http://www.imageen.com/ebook/
Apprehend: http://www.frontiernet.net/~w2m/index.html
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: