Update thumbnail after change to source document
Update thumbnail after change to source document
I have a thumbnail control that I use to display pages from a document (jpgs that I created and load using the loadfromfile). If a user alters the original tiff, and the system updates the jpg, how do I tell the update the display for that specific thumbnail? I need to make sure it just updats, without refreshing the whole screen, etc.
Thanks,
MP
Thanks,
MP
Re: Update thumbnail after change to source document
Hi,
We got the same problematic in an in-house application. What we done is to create an editable multipage tiff in memory, the call the RedrawItem with the good index.
Hope this helps !
Loïc
We got the same problematic in an in-house application. What we done is to create an editable multipage tiff in memory, the call the RedrawItem with the good index.
Hope this helps !
Loïc
Re: Update thumbnail after change to source document
Is it possible to update that index then do a redraw? I'd like to maintain a page index = image index so they are in synch. If I add a new image to my image list then they are out of synch. I'm not sure if we can just do a replace for that single image in the image list and maintain the exact order of images stored in the image list.
Re: Update thumbnail after change to source document
I found that using a listview, creating the thumbnail and setting the image in the image collection = to the new thumbnail did the trick. The listview displayed the newly created thumbnail upon the update to the collection.
Re: Update thumbnail after change to source document
This is the same approach I'm using in our project.mp33487 wrote:I found that using a listview, creating the thumbnail and setting the image in the image collection = to the new thumbnail did the trick. The listview displayed the newly created thumbnail upon the update to the collection.
Though as mentioned in another thread the performance for loading the thumbs is very poor.
Do you also have performance issues while using gd created thumbs in your listview?
Who is online
Users browsing this forum: No registered users and 1 guest