RecentlyUsedCacheInitializeRecentlyUsedCache Method |
Initialize the Recently used cache with the provided limits. If the cache already exists, it will
shrink to conform to these limits immediately
Namespace:
pdftron.Common
Assembly:
pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax public static void InitializeRecentlyUsedCache(
uint num_documents,
uint max_absolute_space,
double max_percentage_space
)
Public Shared Sub InitializeRecentlyUsedCache (
num_documents As UInteger,
max_absolute_space As UInteger,
max_percentage_space As Double
)
public:
static void InitializeRecentlyUsedCache(
[InAttribute] unsigned int num_documents,
[InAttribute] unsigned int max_absolute_space,
[InAttribute] double max_percentage_space
)
pdftron.Common.RecentlyUsedCache.InitializeRecentlyUsedCache = function(num_documents, max_absolute_space, max_percentage_space);
Parameters
- num_documents
- Type: SystemUInt32
the number of documents to track in the recently used list.
- max_absolute_space
- Type: SystemUInt32
the maximum space, in bytes, the thumbnails can occupy on disk.
- max_percentage_space
- Type: SystemDouble
the maximum percentage of free space, in range 0 - 1.0, the thumbnails can occupy on disk.
See Also