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 RasterImage ErrorThumbnail {get; set;}
BrowsableAttribute() get_ErrorThumbnail();
set_ErrorThumbnail(value);
[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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2