←Select platform

LoadDuration Property

Summary

Time it took the library to load this document in milliseconds.

Syntax
C#
VB
C++
public abstract TimeSpan LoadDuration { get; } 
Public MustOverride ReadOnly Property LoadDuration() As TimeSpan 
public:  
   virtual property TimeSpan^ LoadDuration 
   { 
      TimeSpan^ get() abstract; 
   } 

Property Value

The time it took the library to load this document in milliseconds.

Remarks

This value is the time it took the library to load this document in milliseconds. The value is approximate and only measures the time it took the RasterCodecs object to extract information about the document such as its format, number of pages, and the size of each page with the initial GetInformation call. Times for other operations such as downloading the image data from an external URL are not included in LoadDuration.

Use LoadDocumentOptions.TimeoutMilliseconds to abort loading documents that take more than a certain amount of time to load.

Use DocumentMemoryCache to optimize subsequent loading speed for slow documents.

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.