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

LoadProgress Event






Occurs when loading file(s) image(s), if the user passed LoadFileImage and/or GenerateThumbnail.
Syntax
'Declaration
 
Public Event LoadProgress As EventHandler(Of RasterDialogLoadProgressEventArgs)
'Usage
 
Dim instance As RasterOpenDialog
Dim handler As EventHandler(Of RasterDialogLoadProgressEventArgs)
 
AddHandler instance.LoadProgress, handler
add_LoadProgress(function(sender, e))
remove_LoadProgress(function(sender, e))

Event Data

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

PropertyDescription
Cancel Gets or sets a value that indicates whether to abort the command.
FilePercent Gets a value that shows the progress of the current file loading process.
LoadRasterFileData Gets the file data that has just been loaded.
TotalPercent An integer that represents the percentage of the total selected file(s) loading process.
Example
Refer to RasterOpenDialog example.
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

RasterOpenDialog Class
RasterOpenDialog Members

 

 


Products | Support | Contact Us | Copyright Notices

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