GdViewer Flashing when change the index of multipage file
GdViewer Flashing when change the index of multipage file
Hi, I have the next scenario: i have a thumbnail that can contain various files and each file can be multipage. I need to show each page in a GdViewer. So what i do is keep an index where am i in my thuimbnail and when i want to show it in gdViewer just use GdViewer.DisplayPage(int number_of_desired_page), previously made GdViewer.DisplayFromFile(string fileName). The problem is that if i don't specify gdViewer.DisplayFromFile(string fileName), it doesn't change the picture, and if i do, it show the first page of the file, and after that shows the desired page and it's like flashing. I tryied to pass just the fileName to the GdViewer and use GdViewer.DisplayNextPage() , but doesn't change it. Any ideas what am i doing wrong ?!
-
- Posts: 352
- Joined: Tue Sep 27, 2011 11:47 am
Re: GdViewer Flashing when change the index of multipage fil
Hi,
I could not really reproduce the problem you had, but here is the best way of displaying files that i am sure would eleminate your problem:
1. Load image into a GdPictureImaging object creating a GdPicture image from the file
2. Check if it is a multipage image
3. if it is, select the page you want via the function TiffSelectPage
4. Display the GdPictureImage in the viewer.
Best Regards,
Sami Kharma
GdPicture Support
I could not really reproduce the problem you had, but here is the best way of displaying files that i am sure would eleminate your problem:
1. Load image into a GdPictureImaging object creating a GdPicture image from the file
2. Check if it is a multipage image
3. if it is, select the page you want via the function TiffSelectPage
4. Display the GdPictureImage in the viewer.
Best Regards,
Sami Kharma
GdPicture Support
Who is online
Users browsing this forum: No registered users and 1 guest