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 scroll to bottom of image in TImageEnVect
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

stwizard

USA
46 Posts

Posted - Nov 04 2015 :  14:14:36  Show Profile  Reply
Greetings All,

Delphi XE5
ImageEn 5.0.5

I load an image of an 8-1/2" x 11" document into a TImageEnVect component. Because the document is taller than the viewing area, the user needs to scroll to the bottom of each document that is loaded to view the relevant information.

I would like for it to automatically scroll to the bottom of the document once loaded. How can I accomplish this in code?

Thanks,
Mike

w2m

USA
1990 Posts

Posted - Nov 04 2015 :  14:52:18  Show Profile  Reply
ImageEnVect1.ViewY := ImageEnVect1.IEBitmap.Height-1;


Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
Go to Top of Page

stwizard

USA
46 Posts

Posted - Nov 04 2015 :  15:08:52  Show Profile  Reply
Thanks Bill, works as expected.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: