LEADTOOLS Windows Forms (Leadtools.WinForms assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
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);
}

Property Value

An Leadtools.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 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 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also