←Select platform

LoadDocumentAsyncOptions Class

Summary

Options to use when loading a document asynchronously.

Syntax

C#
VB
C++
public class LoadDocumentAsyncOptions : LoadDocumentOptions
Public Class LoadDocumentAsyncOptions 
   Inherits LoadDocumentOptions 
public ref class LoadDocumentAsyncOptions : LoadDocumentOptions

Remarks

Used with DocumentFactory.LoadFromUriAsync to specify extra options to use when loading documents asynchronously.

LoadDocumentAsyncOptions derives from LoadDocumentOptions and should be setup in the same way. Loading a document asynchronously will return control to the user right away and the document is loaded in a separate thread. Therefore, LoadDocumentAsyncOptions adds the following members to easily track the status of the load operation:

  • Progress: Event that indicate the current load progress.

  • Completed: Event that indicate when the load operation is completed.

  • UserState: User-define data that can be associated with the load operation.

Refer to Loading Documents using Leadtools.Documents for detailed information.

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