THotPDF.GetLoadedCollectionColors Method
Reads the collection colours information out of 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 GetLoadedCollectionColors(out Colors: THPDFCollectionColorsInfo): boolean;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
Colors | Colour component or colour value used by the painting or resource operation |
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
- Register named colour resources before using them from page-level painting commands
- Loaded-document object references may be indirect; resolve arrays, dictionaries or streams before inspecting nested values