Click or drag to resize

RecentlyUsedCache Methods

The RecentlyUsedCache type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAccessDocument
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.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodStatic memberGetBitmapPathIfExists
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.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberInitializeRecentlyUsedCache
Initialize the Recently used cache with the provided limits. If the cache already exists, it will shrink to conform to these limits immediately
Public methodStatic memberRemoveDocument
Remove the specified document from the recently used list.
Public methodStatic memberResetCache
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.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also