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

RasterThumbnailBrowserLoadThumbnailEventArgs Class






Members 
Provides data for the RasterThumbnailBrowser.LoadThumbnail event.
Object Model
RasterThumbnailBrowserLoadThumbnailEventArgs Class
Syntax
public class RasterThumbnailBrowserLoadThumbnailEventArgs : System.EventArgs 
'Declaration
 
Public Class RasterThumbnailBrowserLoadThumbnailEventArgs 
   Inherits System.EventArgs
public sealed class RasterThumbnailBrowserLoadThumbnailEventArgs : ~Remove~ 
function Leadtools.WinForms.RasterThumbnailBrowserLoadThumbnailEventArgs()
public ref class RasterThumbnailBrowserLoadThumbnailEventArgs : public System.EventArgs 
Remarks

The RasterThumbnailBrowser.LoadThumbnail event is raised for each item found as a result of calling the RasterThumbnailBrowser.LoadThumbnails method.

RasterThumbnailBrowserLoadThumbnailEventArgs contains the FileName property that will hold the physical path to the item being loaded. Use this property to manually load the image. Set it using the Image property.

The Index and Total properties gives you an indication of how far the loading process has progressed. Use this information to update a progress bar for the user.

The Cancel property lets you abort the loading process at anytime (for example, due to the user clicking the cancel button.)

Example
For an example, refer to RasterThumbnailBrowser.LoadThumbnail.
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

RasterThumbnailBrowserLoadThumbnailEventArgs Members
Leadtools.WinForms Namespace

 

 


Products | Support | Contact Us | Copyright Notices

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