Event that occurs when the factory finishes loading the document successfully or otherwise.
public event EventHandler<LoadAsyncCompletedEventArgs> Completed
Public Event Completed As EventHandler(Of Leadtools.Document.LoadAsyncCompletedEventArgs)
public:
event EventHandler<Leadtools::Documents::LoadAsyncCompletedEventArgs^>^ Completed
Completed will occur once when the factory finishes loading the document successfully or otherwise. It uses the LoadAsyncCompletedEventArgs event data class that is populated with the following:
Member | Value |
---|---|
System.ComponentModel.AsyncCompletedEventArgs.Cancelled | true if the user has aborted the current operation, false otherwise.. |
System.ComponentModel.AsyncCompletedEventArgs.UserState | The same value originally set by the user in LoadDocumentAsyncOptions.UserState. |
System.ComponentModel.AsyncCompletedEventArgs.Error | The error object thrown if any. |
Uri |
The location of the document loaded. This is the uri value passed to LoadFromUriAsync |
Document |
The result LEADDocument object if the load operation was successful, null otherwise |
For an example, refer to DocumentFactory.LoadFromUriAsync.
Parameter | Type | Description |
---|---|---|
sender | object | The source of the event. |
e | LoadAsyncCompletedEventArgs | The event data. |
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document