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
 TImageEnVect - Zoom to lower left corner
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

stwizard

USA
39 Posts

Posted - May 05 2014 :  05:01:21  Show Profile  Reply
Greetings All,

I use TImageEnVect to display an 8-1/2" x 11" document where the entire document is in view to begin with. Because of this, the unique identification code that is printed at the lower left corner of is a little hard to read (due to small font size) and I would like to zoom to this area of the document with one click of the mouse.

So far to test, I added a button to my form and added this code:

ImageEnVect1.Zoom := 150;

This is a perfect size to read, but I had to manually scroll to the bottom, then to the left of the document to view it.

How do I tell TIamgeEnVect to automatically scroll to the bottom / left corner of the image when I click a button?

Thanks,
Mike

xequte

38514 Posts

Posted - May 05 2014 :  23:26:42  Show Profile  Reply
Hi Mike

It would probably be quicker to use ZoomAt:

http://www.imageen.com/help/TImageEnView.ZoomAt.html

But alternatively you can also set ViewX and ViewY.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

stwizard

USA
39 Posts

Posted - May 06 2014 :  05:42:15  Show Profile  Reply
Rather obvious huh? Thanks, Nigel just what I needed.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: