The loaded Document object.
public Document Document { get; }
Public ReadOnly Property Document() As Document
Get
The result loaded Document object if the load operation was successful, otherwise; null.
Document will contain the ready to use loaded document if the operation was successful. The value will be null if:
When the value of System.ComponentModel.AsyncCompletedEventArgs.Cancelled is true indicating that the operation was canceled by the user. This happens if the user had set the value of IsCancelPending to true while monitoring the Progress event.
When the value of System.ComponentModel.AsyncCompletedEventArgs.Error is not null. This happens when an error occurs while the document is being loaded. This could range from network errors thrown by the operation system to invalid file formats thrown by LEADTOOLS framework as any user errors thrown by the user while monitoring the Progress event.
For an example, refer to DocumentFactory.LoadFromUriAsync.
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