LEADTOOLS Support
Imaging
Imaging SDK Questions
RasterThumnailBrowser.Refresh throws Object Reference is not set to an instance
This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Sunday, April 10, 2011 11:11:10 PM(UTC)
Groups: Registered
Posts: 4
hello, iam using V17 i have RasterThumbnailBrowser
object at the first time i call refresh if i added the images manually it throws Object Reference is not set to an instance
the code is:
_browser.Items.Add(item)
_browser.Refresh() 'it throws the error while the object reference is set not null
if i put the first call inside try catch
and call the refresh again it backs to be called fine
#2
Posted
:
Monday, April 11, 2011 5:09:16 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Emad,
This method (RasterThumbnailBrowser.Refresh) will refresh loading thumbnails for the paths that specified in RasterThumbnailBrowser.LoadThumbnails() method not for the items currently loaded into the control.
Please check the sample code provided in the Refresh Method help topic in the .NET documentation.
LEADTOOLS Support
Imaging
Imaging SDK Questions
RasterThumnailBrowser.Refresh throws Object Reference is not set to an instance
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.