Information about and properties of a document in the cache.
[SerializableAttribute()]
[DataContractAttribute()]
public class DocumentCacheInfo
<SerializableAttribute(),
DataContractAttribute()>
Public Class DocumentCacheInfo
public:
[SerializableAttribute,
DataContractAttribute]
ref class DocumentCacheInfo
DocumentCacheInfo is returned by DocumentFactory.GetDocumentCacheInfo to quickly obtain information about a document in the cache without loading it. This includes whether the document is in the cache, its name and mime type, the number of pages, and whether it was loaded by the user.
This class contains the following members:
Member | Description |
---|---|
DocumentId | The unique ID of the document. |
IsVirtual | Indicates whether the document is virtual. |
IsLoaded | Indicates whether the document has been loaded at least once. |
HasAnnotations | Indicates whether the document has any annotations. |
Name | Document name |
MimeType | MIME type of the document |
MimeTypeStatus | Status of checking the document MIME type. |
DocumentDataLength | Length in bytes of the original document file, if any. |
AnnotationsDataLength | Length bytes of the original annotation file, if any. |
PageCount | Number of pages in this document. |
HasUserToken | Indicates that the document has an associated user token. |
UserToken | The user token associated with this document. |
For an example, refer to GetDocumentCacheInfo(ObjectCache,string).
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document