←Select platform

DocumentDataType Enumeration

Summary

Data type of a LEADDocument.

Syntax
C#
C++/CLI
Python
[SerializableAttribute()] 
[DataContractAttribute()] 
public enum DocumentDataType 
public: 
   [SerializableAttribute,  
   DataContractAttribute] 
   enum class DocumentDataType sealed 
class DocumentDataType(Enum): 
   Transient = 0 
   Cached = 1 
   Virtual = 2 
Members
ValueMemberDescription
0TransientThe document has been created but has not been saved to the cache yet.
1CachedThe document data is saved in the cache.
2VirtualThe document is virtual.
Remarks

DocumentDataType is used as the type of LEADDocument.DataType and DocumentPage.DataType properties to determine where the actual original data of the document or page is stored. DocumentViewer uses this value to optimize rendering and not incur unnecessary cache hits.

When a document is first created or loaded but is not saved in the cache, the data type will be set to Transient.

When a document is saved in the cache, the data type will be set to Cached.

When this is a virtual document containing other child documents, the data type will be set to Virtual.

Requirements

Target Platforms

See Also

Reference

Leadtools.Document Namespace

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

Leadtools.Document Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.