←Select platform

Cache Property

Summary

Cache that contains the document ID to use as the input of the conversion.

Syntax
C#
VB
C++
public ObjectCache Cache { get; set; } 
Public Property Cache() As ObjectCache 
   Get 
   Set 
public:  
   property ObjectCache^ Cache 
   { 
      ObjectCache^ get() 
      void set(ObjectCache^ value) 
   } 

Property Value

Cache that contains the document ID to use as the input of the conversion. Default value is null.

Remarks

One input must be specified for the conversion to be successful: One of InputDocumentFileName, Document or DocumentId must not be null.

If DocumentId is set by the user, then the document converter will use Cache to load the LEADDocument object as is and will dispose it when the conversion is completed.

The converter will use DocumentFactory.LoadFromCache passing Cache and DocumentId as the parameters. Therefore, the ID must point to a valid document in the cache.

Example

For an example, refer to RunJob and RunJobAsync.

Requirements

Target Platforms

Help Version 20.0.2019.9.19
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Converter Assembly