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

Show in webframe

HasCache Property






Indicates whether this Document is using the cache.
Syntax
public bool HasCache {get;}
'Declaration
 
Public ReadOnly Property HasCache As Boolean
'Usage
 
Dim instance As Document
Dim value As Boolean
 
value = instance.HasCache
public boolean hasCache()
            
public:
property bool HasCache {
   bool get();
}

Property Value

true if this document uses the cache system, otherwise; false.
Remarks

Documents can contain large number of pages and huge amount of data. Storing all this data in the physical memory is not feasible in most situations. Therefore, the Document class was designed to use an external caching system to store the modified. Refer to DocumentFactory.Cache for more information.

HasCache determines if this document is using the cache system. SaveToCache can be used to save a document to the cache and re-loading it using DocumentFactory.LoadFromCache. AutoDeleteFromCache and AutoSaveToCache can be used to determine what happens to the cache data associated with the document when it is disposed.

Example

For an example, refer to Document.

Requirements

Target Platforms

See Also

Reference

Document Class
Document 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