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
 ImageIndex with Multi-Page Tiff in ImageEnDBView
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Sidney Egnew

USA
51 Posts

Posted - Jul 08 2017 :  01:47:24  Show Profile  Reply
I have a multipage TIFF stored in an Oracle BFILE field. The first page is automatically displayed but my users need to view the other pages.

I can get this to work using an ImageEnView with:
ImageEnView.IO.Params.TIFF_ImageIndex := NewIndexValue;
ImageEnView.IO.LoadFromFileTIFF(FileName);

An ImageEnView cannot be used with the BFILE. When I try changing the displayed page using an ImageEnDBView, the displayed page does not change. It remains on page 1.
ImageEnDBView.IO.Params.TIFF_ImageIndex := NewIndexValue;
?????????

What needs to be done to get the ImageEnDBView to display the selected page?

Thanks

xequte

38222 Posts

Posted - Jul 08 2017 :  15:54:49  Show Profile  Reply
Hi Sidney

You should call LoadPicture after setting the ImageIndex:

https://www.imageen.com/help/TImageEnDBView.LoadPicture.html


Though, you would probably be better to use the newer TIEDBitmap class:

https://www.imageen.com/help/TIEDBBitmap.html

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: