←Select platform

AddFile Event

Summary

Occurs once for each image file loaded into the RasterThumbnailBrowser.

Syntax

C#
VB
C++
public event EventHandler<RasterThumbnailBrowserAddFileEventArgs> AddFile 
  
Public Event AddFile As EventHandler(Of RasterThumbnailBrowserAddFileEventArgs) 
public: 
event EventHandler<RasterThumbnailBrowserAddFileEventArgs^>^ AddFile 

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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.WinForms Assembly