←Select platform

LoadAsyncProgressEventArgs Class

Summary

Data for the LoadDocumentAsyncOptions.Progress event.

Syntax
C#
VB
C++
public class LoadAsyncProgressEventArgs : ProgressChangedEventArgs 
Public Class LoadAsyncProgressEventArgs 
   Inherits System.ComponentModel.ProgressChangedEventArgs 
public ref class LoadAsyncProgressEventArgs : System::ComponentModel::ProgressChangedEventArgs 
Remarks

LoadAsyncProgressEventArgs derives from System.ComponentModel.ProgressChangedEventArgs and contains the following members:

Member Description
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.

Example

For an example, refer to DocumentFactory.LoadFromUriAsync.

Requirements
Target Platforms
Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.