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

Show in webframe

CachePolicy Property (LoadDocumentOptions)






The cache policy to use with the new document.
Syntax
public CacheItemPolicy CachePolicy {get; set;}
'Declaration
 
Public Property CachePolicy As CacheItemPolicy
'Usage
 
Dim instance As LoadDocumentOptions
Dim value As CacheItemPolicy
 
instance.CachePolicy = value
 
value = instance.CachePolicy
public CacheItemPolicy getCachePolicy()
public void setCachePolicy(CacheItemPolicy value)
            
public:
property CacheItemPolicy^ CachePolicy {
   CacheItemPolicy^ get();
   void set (    CacheItemPolicy^ value);
}

Property Value

The cache policy to use for the new document that determine when the document and its parts are purged. Default value is a default CacheItemPolicy that never expires.
Remarks

CachePolicy is used when UseCache is set to true.

The policy must contain the desired absolute or sliding expiration date for the document and its part.

Using a cache policy does not mean the document will be stored in the cache forever, refer to AutoSaveToCache for more information on how the cache policy is used.

Refer to Loading Documents using Leadtools.Documents for detailed information.

Example

For an example, refer to DocumentFactory.LoadFromFile or DocumentFactory.LoadFromUri.

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