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




Gets and 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;}
Managed Extensions for C++ 
[BrowsableAttribute(false)]
public: __property RasterImage get_ErrorThumbnail();
public: __property void set_ErrorThumbnail( 
   RasterImage value
);
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 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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also