LEADTOOLS Windows Forms (Leadtools.WinForms assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
LoadThumbnail Event
See Also 
Leadtools.WinForms Namespace > RasterThumbnailBrowser Class : LoadThumbnail Event



Occurs when the control loads the thumbnail of an item.

Syntax

Visual Basic (Declaration) 
Public Event LoadThumbnail As EventHandler(Of RasterThumbnailBrowserLoadThumbnailEventArgs)
Visual Basic (Usage)Copy Code
Dim instance As RasterThumbnailBrowser
Dim handler As EventHandler(Of RasterThumbnailBrowserLoadThumbnailEventArgs)
 
AddHandler instance.LoadThumbnail, handler

Event Data

The event handler receives an argument of type RasterThumbnailBrowserLoadThumbnailEventArgs containing data related to this event. The following RasterThumbnailBrowserLoadThumbnailEventArgs properties provide information specific to this event.

PropertyDescription
Cancel Gets or sets a value indicating whether the loading event should be canceled.
FileName The physical path to the file to load.
Image The image thumbnail to load.
Index A zero-based integer that specifies the current position in number of items to load.
Page The page number in the file to load.
Total An integer value that represents the total number of items to load.
TotalPages The total number of pages in the file to load.

Example

For an example, refer to RasterThumbnailBrowser.

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