The cache policy to use with the new document.
public CacheItemPolicy CachePolicy { get; set; }
Public Property CachePolicy() As CacheItemPolicy
Get
Set
public:
property CacheItemPolicy^ CachePolicy
{
CacheItemPolicy^ get()
void set(CacheItemPolicy^ value)
}
public CacheItemPolicy getCachePolicy()
public void setCachePolicy(CacheItemPolicy value)
The cache policy to use for the new document that determine when the document and its parts are purged. Default value is a default CacheItemPolicy that never expires.
CachePolicy is used when UseCache is set to true.
The policy must contain the desired absolute or sliding expiration date for the document and its part.
Using a cache policy does not mean the document will be stored in the cache forever, refer to AutoSaveToCache for more information on how the cache policy is used.
Refer to Loading Documents using Leadtools.Documents for detailed information.
For an example, refer to DocumentFactory.LoadFromFile or DocumentFactory.LoadFromUri.
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