DocumentPreviewCacheInitialize Method |
Initialize the preview cache. If the cache already exists, it will
shrink to conform to these limits immediately.
Namespace:
pdftron.PDF
Assembly:
pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax public static void Initialize(
ulong max_cache_bytes,
double max_disk_percentage
)
Public Shared Sub Initialize (
max_cache_bytes As ULong,
max_disk_percentage As Double
)
public:
static void Initialize(
[InAttribute] unsigned long long max_cache_bytes,
[InAttribute] double max_disk_percentage
)
pdftron.PDF.DocumentPreviewCache.Initialize = function(max_cache_bytes, max_disk_percentage);
Parameters
- max_cache_bytes
- Type: SystemUInt64
The absolute maximum size on disk for the temporary preview cache in bytes.
- max_disk_percentage
- Type: SystemDouble
The maximum percentage of free disk space that the cache can take up (0 - 1.0).
See Also