←Select platform

ErrorThumbnail Property

Summary

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

Syntax

C#
VB
C++
public RasterImage ErrorThumbnail { get; set; } 
  
<BrowsableAttribute(False)> 
Public Property ErrorThumbnail As Leadtools.RasterImage 
[BrowsableAttribute(false)] 
public: 
property Leadtools.RasterImage^ ErrorThumbnail { 
   Leadtools.RasterImage^ get(); 
   void set (    Leadtools.RasterImage^ ); 
} 

Property Value

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

Remarks

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.

Example

For an example, refer to RasterThumbnailBrowser.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.WinForms Assembly