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 |
C# | |
---|---|
public event EventHandler<RasterThumbnailBrowserAddFileEventArgs> AddFile |
C++/CLI | |
---|---|
public: event EventHandler<RasterThumbnailBrowserAddFileEventArgs^>^ AddFile |
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.
Property | Description |
---|---|
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. |
For an example, refer to RasterThumbnailBrowser.
This event is raised for each image file loaded. Loading images is initiated by calling the RasterThumbnailBrowser.LoadThumbnails method.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7