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



Occurs once for each image file loaded into the RasterThumbnailBrowser.

Syntax

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

Event Data

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

PropertyDescription
Add Returns true if the file was successfully added to the RasterThumbnailBrowser; false otherwise.
FileName Returns the file name that was just added to the RasterThumbnailBrowser.
Page Return the page number for the file that was just added to the RasterThumbnailBrowser.
TotalPages Return the total number of pages for the file that was just added to the RasterThumbnailBrowser.

Example

For an example, refer to RasterThumbnailBrowser.

Remarks

This event is raised for each image file loaded. Loading images is initiated by calling the RasterThumbnailBrowser.LoadThumbnails method.

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