LEADTOOLS Windows Forms (Leadtools.WinForms assembly)
LEAD Technologies, Inc

AddFile Event






Occurs once for each image file loaded into the RasterThumbnailBrowser.
Syntax
'Declaration
 
Public Event AddFile As EventHandler(Of RasterThumbnailBrowserAddFileEventArgs)
'Usage
 
Dim instance As RasterThumbnailBrowser
Dim handler As EventHandler(Of RasterThumbnailBrowserAddFileEventArgs)
 
AddHandler instance.AddFile, handler
add_AddFile(function(sender, e))
remove_AddFile(function(sender, e))

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.
Remarks
This event is raised for each image file loaded. Loading images is initiated by calling the LoadThumbnails(String,String,RasterThumbnailBrowserLoadFlags) method.
Example
For an example, refer to RasterThumbnailBrowser.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RasterThumbnailBrowser Class
RasterThumbnailBrowser Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.