T O P I C R E V I E W |
HelenUrban |
Posted - Dec 31 2011 : 07:29:36 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 |
2 L A T E S T R E P L I E S (Newest First) |
klausdoege |
Posted - Dec 31 2011 : 08:47:21 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 |
HelenUrban |
Posted - Dec 31 2011 : 07:32:46 Never mind.. found it. I should be using Seek:
ImageEnView1->IO->Seek(ieioSeekNext);
Helen Urban |