←Select platform

LoadDuration Property

Summary

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

Syntax
C#
C++/CLI
Python
public abstract TimeSpan LoadDuration { get; } 
public:  
   virtual property TimeSpan^ LoadDuration 
   { 
      TimeSpan^ get() abstract; 
   } 
LoadDuration get (LEADDocument) 

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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.