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
 ImageEnDBView Page Change Fails after Page Rotate
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Sidney Egnew

USA
55 Posts

Posted - Sep 03 2020 :  11:41:19  Show Profile  Reply
The following code allows me to view a multi-page TIFF contained in a database field:

with ImageEnDBView1 do
begin
DataSource := dsFieldReport;
DataField := 'TiffPages';
LoadPicture;
AutoStretch := True;
AutoShrink := True;
end;

I can access each page by changing the value of IO.Params.ImageIndex. The problem is that when I rotate a page for viewing, I can no longer change the ImageIndex. I am not planning to save the rotated image. I just want to move on to a different page in the TIFF.

What needs to be done to resolve this issue?

xequte

38616 Posts

Posted - Sep 04 2020 :  18:29:45  Show Profile  Reply
Hi Sidney

TImageEnDBView is a deprecated component. You should use TIEDBBitmap attached to a TImageEnView for new projects.


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