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
 ImageEnView and multipage tiff display
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

HelenUrban

South Africa
6 Posts

Posted - Dec 31 2011 :  07:29:36  Show Profile  Reply
Hi

I want ImageEnView to beable to display via buttons, previous or next pages in a multipage tiff.

I am placing code something like this behind the button:
....
ImageEnView1->IO->Params->ImageIndex = cnt
....
But the display in ImageEnView is not refreshing to that page.
I dont really want to use the thumbnails in MView.

I think I am using the wrong functionality in ImageEnView1 to achieve this.

Please help.

Many Thanks

Helen Urban

HelenUrban

South Africa
6 Posts

Posted - Dec 31 2011 :  07:32:46  Show Profile  Reply
Never mind.. found it. I should be using Seek:

ImageEnView1->IO->Seek(ieioSeekNext);

Helen Urban
Go to Top of Page

klausdoege

Germany
389 Posts

Posted - Dec 31 2011 :  08:47:21  Show Profile  Reply
Hi Helen
// first
ImageEnVect.IO.LoadFromFile('Filenamexxx.tif');

// now set Picture count example: First Picture
ImageEnVect.io.Params.ImageIndex:=1;
// load Picture 1
ImageEnVect.io.LoadFromFileTIFF('Filenamexxx.tif');
// set next counter
ImageEnVect.io.Params.ImageIndex:=2;
// load Picture 2
ImageEnVect.io.LoadFromFileTIFF('Filenamexxx.tif');
// every count here 4
ImageEnVect.io.Params.ImageIndex:=4;
// load Picture 4
ImageEnVect.io.LoadFromFileTIFF('Filenamexxx.tif');
..........

regards

Klaus
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: