LEADTOOLS Windows Forms (Leadtools.WinForms.CommonDialogs.File assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
LoadProgress Event
See Also 
Leadtools.WinForms.CommonDialogs.File Namespace > RasterOpenDialog Class : LoadProgress Event



Occurs when loading file(s) image(s), if the user passed RasterOpenDialog.LoadFileImage and/or RasterOpenDialog.GenerateThumbnail.

Syntax

Visual Basic (Declaration) 
Public Event LoadProgress As EventHandler(Of RasterDialogLoadProgressEventArgs)
Visual Basic (Usage)Copy Code
Dim instance As RasterOpenDialog
Dim handler As EventHandler(Of RasterDialogLoadProgressEventArgs)
 
AddHandler instance.LoadProgress, handler
C++/CLI 
public:
event EventHandler<RasterDialogLoadProgressEventArgs^>^ LoadProgress

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: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also