Event that occurs when the factory finishes loading the document successfully or otherwise.
public event EventHandler<Leadtools.Documents.LoadAsyncCompletedEventArgs> Completed
Public Event Completed As EventHandler(Of Leadtools.Documents.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 Document 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. |
Products |
Support |
Feedback: Completed Event (LoadDocumentAsyncOptions) - Leadtools.Documents |
Introduction |
Help Version 19.0.2017.3.22
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.