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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 TImageEnVect - Zoom to lower left corner

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
stwizard Posted - May 05 2014 : 05:01:21
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
2   L A T E S T    R E P L I E S    (Newest First)
stwizard Posted - May 06 2014 : 05:42:15
Rather obvious huh? Thanks, Nigel just what I needed.
xequte Posted - May 05 2014 : 23:26:42
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