Indicates whether the new document will use the cache system.
public bool UseCache { get; set; }
Public Property UseCache() As Boolean
Get
Set
public:
property bool UseCache
{
bool get()
void set(bool value)
}
public boolean getUseCache()
public void setUseCache(boolean value)
true if the new document will use the cache system, otherwise; false. Default value is false.
When the value of UseCache is true, then 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 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.
Refer to Creating Documents with LEADTOOLS Documents Library for detailed information.
For an example, refer to DocumentFactory.Create.
Products |
Support |
Feedback: UseCache Property (CreateDocumentOptions) - Leadtools.Documents |
Introduction |
Help Version 19.0.2017.3.22
|
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
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.