cacheStatus Property


The cache status of this document.


JavaScript Syntax
Object.defineProperty(Document.prototype, 'cacheStatus', 
	get: function(), 
	set: function(value) 
TypeScript Syntax
cacheStatus: DocumentCacheStatus; 

Property Value

The cache status of this document. Default value is DocumentCacheStatus.NotSynced.


The value of CacheStatus will be DocumentCacheStatus.NotSynced when any part of the document has not been updated into the cache. This is the default value when a document is first loaded from a URL / disk file / stream or, when uploaded or when created through the factory. When the document is saved into the cache using SaveToCache, the value of CacheStatus will be set to DocumentCacheStatus.Synced and the timestamp of the operation is stored in LastCacheSyncTime.

If the document is modified by adding / removing pages or when the content of any page is changed, then the value of CacheStatus will be to DocumentCacheStatus.NotSynced automatically.


Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents Assembly