Event that occurs one or more times while the factory is loading the document to indicate the current progress.
public event EventHandler<Leadtools.Documents.LoadAsyncProgressEventArgs> ProgressPublic Event Progress As EventHandler(Of Leadtools.Documents.LoadAsyncProgressEventArgs)public:event EventHandler<Leadtools::Documents::LoadAsyncProgressEventArgs^>^ Progress
Progress will occur one or more times while the document is being loaded and it can be used to show a progress bar indicator for the user (and optionally, support for aborting the load). Progress uses the LoadAsyncProgressEventArgs event data class that is populated with the following for each "chunk":
| Member | Value |
|---|---|
| System.ComponentModel.ProgressChangedEventArgs.ProgressPercentage | Current progress percentage. This value goes from 0 to 100.. |
| System.ComponentModel.ProgressChangedEventArgs.UserState | The same value originally set by the user in LoadDocumentAsyncOptions.UserState. |
| Uri | The location of the document being loaded. This is the uri value passed to LoadFromUriAsync |
| BytesReceived | Number of bytes received during this chunk of the operation. |
| TotalBytesToReceive | Total number of bytes received so far for the whole load operation. |
| IsCancelPending | Can be used to abort the load operation. |
For an example, refer to DocumentFactory.LoadFromUriAsync.
| Parameter | Type | Description |
|---|---|---|
| sender | object | The source of the event. |
| e | LoadAsyncProgressEventArgs | The event data. |
|
Products |
Support |
Feedback: Progress 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.