←Select platform

LoadAsyncProgressEventArgs Class

Summary

Data for the LoadDocumentAsyncOptions.Progress event.

Syntax

C#
VB
C++
public class LoadAsyncProgressEventArgs : System.ComponentModel.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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Documents Assembly
Click or drag to resize