←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.Document for detailed information.

Example

For an example, refer to DocumentFactory.LoadFromUriAsync.

Requirements

Target Platforms

Help Version 20.0.2019.12.10
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly