Error processing SSI file
LEADTOOLS Leadtools.Documents (Leadtools.Documents assembly)

Show in webframe

Cache Property (LoadDocumentOptions)






The cache to use with the new document.
Syntax
public ObjectCache Cache {get; set;}
'Declaration
 
Public Property Cache As ObjectCache
'Usage
 
Dim instance As LoadDocumentOptions
Dim value As ObjectCache
 
instance.Cache = value
 
value = instance.Cache
public ObjectCache getCache()
public void setCache(ObjectCache value)
            
public:
property ObjectCache^ Cache {
   ObjectCache^ get();
   void set (    ObjectCache^ value);
}

Property Value

The cache to use with the new document. Default value is null.
Remarks

When the value of UseCache is true, then the factory will use the cache stored in one of these locations:

  1. First, the object set in LoadDocumentOptions.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.

  2. 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 Loading Documents using Leadtools.Documents for detailed information.

Requirements

Target Platforms

See Also

Reference

LoadDocumentOptions Class
LoadDocumentOptions Members

Error processing SSI file
   Leadtools.Documents requires a Document or Medical toolkit license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features