LEADTOOLS Support
Imaging
Imaging SDK Questions
How To use RasterThumbnailBrowser With a FileSystemWatcher
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Monday, September 27, 2010 11:58:25 PM(UTC)
Groups: Registered
Posts: 16
Hello,
I'am working on an application that parse one folder, show thumbnails and monitor the selected folder.
I'am using the System.IO.FileSystemWatcher class for the monitoring and it work great.
I'am using the RasterThumbnailViewer control but i have some trouble with it.
I was expecting that when I call the LoadThumbnails Browser it will not reload previously loaded thumbnails.
In order to add a thumbnail when one file is added in the folder, I use the searchpattern param of the LoadThumbnail method to match the added file. This work great but I don't know how to add 2 files in one time.
I mean, if there is two file added in the folder (001.tif and 002.tif) what is the searchpattern i have to give to the LoadThumbnail method?
I have try "001.tif, 002.tif" with no success.
I'am using LT 16.5, C# 3.5 (Winforms), VS 2008
Best reagards,
Benjamin
#2
Posted
:
Tuesday, September 28, 2010 6:15:05 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Benjamin,
You can use our watcher which is EnableBroswerWatcher. If you do not want to use this watcher, you will need to call searchpattern repeatedly, once for each file.
#3
Posted
:
Tuesday, September 28, 2010 6:38:31 AM(UTC)
Groups: Registered
Posts: 16
I don't have this property ! Does she was integrated in the V17? I'am using V16.5.
#4
Posted
:
Wednesday, September 29, 2010 5:11:29 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Yes, this property is only in LEADTOOLS V17. You can download the free Eval edition of V17 using this link:
http://leadtools.com/downloads/EvaluationForm.htm
If you do not wish to use V17, you will need to call searchpattern for each file.
LEADTOOLS Support
Imaging
Imaging SDK Questions
How To use RasterThumbnailBrowser With a FileSystemWatcher
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.