THotPDF.GetCacheAdmissionStatistics Method
Reads cache admission statistics information from the current document creation state. Use the value to inspect parser results, shaping tables, resource availability or diagnostic counters without mutating document output
Declaration
function GetCacheAdmissionStatistics(Kind: THPDFCacheLayerKind; out Statistics: THPDFCacheAdmissionStatistics): boolean;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
Kind | Input supplied to GetCacheAdmissionStatistics |
Statistics | Input supplied to GetCacheAdmissionStatistics |
Return value
Returns a boolean value
Usage notes
- Use this API in the document creation workflow before the affected page, resource, field or catalogue object is finalised
- Keep object names, field names, resource names and returned handles stable until the document is finalised