THotPDF.GetKhmerCategory Method
Reads khmer category 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 GetKhmerCategory(Cp: Cardinal): Integer;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
Cp | Input used by GetKhmerCategory |
Return value
Returns an Integer value
Usage notes
- Use this API in the document creation workflow before the affected page, resource, field, or catalog object is finalised
- Keep object names, field names, resource names, and returned handles stable until the document is finalised