←Select platform

DocumentDataType Enumeration

Summary

Data type of a LEADDocument.

Syntax
C#
VB
C++
[SerializableAttribute()] 
[DataContractAttribute()] 
public enum DocumentDataType 
<SerializableAttribute(),  
 DataContractAttribute()>  
Public Enum DocumentDataType 
public: 
   [SerializableAttribute,  
   DataContractAttribute] 
   enum class DocumentDataType sealed 
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 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

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