Leadtools.WinForms Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
ErrorThumbnail Property
See Also 
Leadtools.WinForms Namespace > RasterThumbnailBrowser Class : ErrorThumbnail Property



Gets or sets the image used to display items that could not be loaded.

Syntax

Visual Basic (Declaration) 
<BrowsableAttribute(False)>
Public Property ErrorThumbnail As RasterImage
Visual Basic (Usage)Copy Code
Dim instance As RasterThumbnailBrowser
Dim value As RasterImage
 
instance.ErrorThumbnail = value
 
value = instance.ErrorThumbnail
C# 
[BrowsableAttribute(false)]
public RasterImage ErrorThumbnail {get; set;}
C++/CLI 
[BrowsableAttribute(false)]
public:
property RasterImage ErrorThumbnail {
   RasterImage get();
   void set (RasterImage value);
}

Return Value

An RasterImage used to display items that could not be loaded.

Example

For an example, refer to RasterThumbnailBrowser.

Remarks

During the loading operation as a result of calling the RasterThumbnailBrowser.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.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also