CacheInfo Interface


Information and properties of a document in the cache.

interface lt.Document.CacheInfo() 


CacheInfo is returned by DocumentFactory.checkCacheInfo to quickly obtain information on 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 if it was loaded by the user.

CacheInfo contains the following members:

Member Description
isVirtual Indicates whether the document is virtual.
isLoaded Indicates whether the document was loaded at least once.
hasAnnotations Indicates whether the document has any annotations.
name Document name
mimeType MIME type of the document
isMimeTypeAccepted Status of checking the document MIME type.
pageCount Number of pages in this document.


For an example, refer to DocumentFactory.checkCacheInfo.


Target Platforms

See Also


lt.Document Namespace

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

Leadtools.Document Assembly