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.Document for detailed information.
For an example, refer to DocumentFactory.LoadFromFile or DocumentFactory.LoadFromUri.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.