Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.3
|
Leadtools.Documents Namespace : DocumentCacheOptions Enumeration |
[FlagsAttribute()] [DataContractAttribute()] [SerializableAttribute()] public enum DocumentCacheOptions : System.Enum
'Declaration
<FlagsAttribute()> <DataContractAttribute()> <SerializableAttribute()> Public Enum DocumentCacheOptions Inherits System.Enum
'Usage
Dim instance As DocumentCacheOptions
public enum DocumentCacheOptions
[FlagsAttribute()] [DataContractAttribute()] [SerializableAttribute()] public enum class DocumentCacheOptions : public System.Enum
Value | Member | Description |
---|---|---|
0x00000000 | None | No extra parts of the document is cached. Only what is needed to re-construct the documents and its pages from the cache. |
0x00000001 | PageImage | Calls to DocumentPage.GetImage will try to save the result in the cache and re-used in subsequent calls. |
0x00000002 | PageSvg | Calls to DocumentPage.GetSvg will try to save the result in the cache and re-used in subsequent calls. |
0x00000004 | PageSvgBackImage | Calls to DocumentPage.GetSvgBackImage will try to save the result in the cache and re-used in subsequent calls. |
0x00000008 | PageThumbnailImage | Calls to DocumentPage.GetThumbnailImage will try to save the result in the cache and re-used in subsequent calls. |
0x00000010 | PageText | Calls to DocumentPage.GetText will try to save the result in the cache and re-used in subsequent calls. |
0x00000020 | PageAnnotations | Calls to DocumentPage.GetAnnotations will try to save the result in the cache and re-used in subsequent calls. |
0x0000003F | All | All results are cached and re-used in subsequent calls. |
DocumentCacheOptions is used as the type of LoadDocumentOptions.CacheOptions and Document.CacheOptions to determine which extra parts of the document is stored cached.
The value of DocumentCacheOptions.None (the default) means to store only the necessary data needed to re-construct the document and its pages from the cache (for example, when DocumentFactory.LoadFromCache is called.
Other values will try to store the results of getting the page images, SVGs, text and annotations into the cache to speed up subsequent calls.
System.Object
System.ValueType
System.Enum
Leadtools.Documents.DocumentCacheOptions