RecentlyUsedCache Class |
Namespace: pdftron.Common
public sealed class RecentlyUsedCache
The RecentlyUsedCache type exposes the following members.
Name | Description | |
---|---|---|
RecentlyUsedCache | Initializes a new instance of the RecentlyUsedCache class |
Name | Description | |
---|---|---|
AccessDocument |
Marks the document as having been accessed. This happens implicitly when
calling PDFViewCtrl.SetDoc, but depending on your use case, you may also
want to call it explicitly.
| |
Equals | (Inherited from Object.) | |
GetBitmapPathIfExists |
Get the path to the thumbnail PNG associated with the document.
Even if the document is in the recently accessed list, there is
no guarantee it will have an associated PNG.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
InitializeRecentlyUsedCache |
Initialize the Recently used cache with the provided limits. If the cache already exists, it will
shrink to conform to these limits immediately
| |
RemoveDocument |
Remove the specified document from the recently used list.
| |
ResetCache |
Blast away the cache from the disk completely, removing any thumbnails
and recently used state. You may want to do this if you detect some kind
of corruption, or if the user wants to clear out disk space used by your
application.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |