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
 ImageIndex with Multi-Page Tiff in ImageEnDBView

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
Sidney Egnew Posted - Jul 08 2017 : 01:47:24
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
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jul 08 2017 : 15:54:49
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