Leadtools.WinForms Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.8.31
RasterThumbnailBrowserLoadThumbnailEventArgs Class
See Also  Members  
Leadtools.WinForms Namespace : RasterThumbnailBrowserLoadThumbnailEventArgs Class




Provides data for the RasterThumbnailBrowser.LoadThumbnail event.

Syntax

Visual Basic (Declaration) 
Public Class RasterThumbnailBrowserLoadThumbnailEventArgs 
   Inherits EventArgs
Visual Basic (Usage)Copy Code
Dim instance As RasterThumbnailBrowserLoadThumbnailEventArgs
C# 
public class RasterThumbnailBrowserLoadThumbnailEventArgs : EventArgs 
Managed Extensions for C++ 
public __gc class RasterThumbnailBrowserLoadThumbnailEventArgs : public EventArgs 
C++/CLI 
public ref class RasterThumbnailBrowserLoadThumbnailEventArgs : public EventArgs 

Example

For an example, refer to RasterThumbnailBrowser.LoadThumbnail.

Remarks

The RasterThumbnailBrowser.LoadThumbnail event is raised for each item found as a result of calling the RasterThumbnailBrowser.LoadThumbnails method.

RasterThumbnailBrowserLoadThumbnailEventArgs contains the FileName property that will hold the physical path to the item being loaded. You can use this property to manually load the image if you chose and set it up in the Image property.

The Index and Total properties gives you an indication of how far the loading process has progressed. You can use this information to update a progress bar for the user.

The Cancel property lets you abort the loading process at anytime, for example, due to the user pressing a cancel button.

Inheritance Hierarchy

System.Object
   System.EventArgs
      Leadtools.WinForms.RasterThumbnailBrowserLoadThumbnailEventArgs

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