Leadtools.WinForms Namespace > RasterThumbnailBrowser Class : ErrorThumbnail Property |
[BrowsableAttribute(false)] public RasterImage ErrorThumbnail {get; set;}
'Declaration <BrowsableAttribute(False)> Public Property ErrorThumbnail As RasterImage
'Usage Dim instance As RasterThumbnailBrowser Dim value As RasterImage instance.ErrorThumbnail = value value = instance.ErrorThumbnail
[BrowsableAttribute(false)] public: property RasterImage^ ErrorThumbnail { RasterImage^ get(); void set ( RasterImage^ value); }
During the loading operation as a result of calling the LoadThumbnails(String,String,RasterThumbnailBrowserLoadFlags) method, some of the files found in the folder may not be image files or are corrupted. The RasterThumbnailBrowser control will assign the image set in the ErrorThumbnail property into the items that cannot be loaded.
Initially, the value of the ErrorThumbnail property is initialized with an image loaded from the DLL resource. You can however change the value of this property to your own custom image.