←Select platform

MinimumLoadDuration Property

Summary

Minimum amount of time the initial loading of a document takes to be considered for memory optimization.

Syntax
C#
VB
C++
public TimeSpan MinimumLoadDuration {get; set;} 
Public Property MinimumLoadDuration() As TimeSpan 
   Get 
   Set 
public:  
   property TimeSpan^ MinimumLoadDuration 
   { 
      TimeSpan^ get() 
      void set(TimeSpan^ value) 
   } 

Property Value

The minimum amount of time the initial loading of a document takes to be considered for memory optimization. The default value is 2 seconds.

Remarks

The initial loading of a document is measured during DocumentFactory.LoadFromFile or DocumentFactory.LoadFromUri.

The amount of time a LEADDocument takes for initial loading is stored in LEADDocument.LoadDuration.

Refer to DocumentMemoryCache for more information.

Example

For an example, refer to DocumentMemoryCache.

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.