The cache to use with the new document.
public ObjectCache Cache { get; set; }
Public Property Cache() As ObjectCache
Get
Set
public:
property ObjectCache^ Cache
{
ObjectCache^ get()
void set(ObjectCache^ value)
}
public ObjectCache getCache()
public void setCache(ObjectCache value)
The cache to use with the new document. Default value is null.
The factory will use the cache stored in one of these locations:
First, the object set in CreateDocumentOptions.Cache. If this value is not null, then it will be used. This allows the use of different cache objects for each document is required.
If the previous member did not have a valid value, then the global object set in DocumentFactory.Cache is checked. If this value is not null, it will be used.
In either case, ObjectCache can be obtained from the document using GetCache and must be setup with a valid LEADTOOLS cache object. The policy to use with this new document to determine when to purge the cache items must be set in CachePolicy.
For an example, refer to DocumentFactory.Create.
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