THotPDF.SetLoadedOutlineColor Method
Sets the text display colour of a loaded PDF bookmark (outline) entry, specified as RGB floating-point values
Declaration
procedure SetLoadedOutlineColor(Index: Integer; AR, AG, AB: Single);
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
Index | Zero-based index of the outline entry (flattened sequence) |
AR | Red component, ranging from 0.0 to 1.0 |
AG | Green component, ranging from 0.0 to 1.0 |
AB | Blue component, ranging from 0.0 to 1.0 |
Usage notes
This member returns no value
Usage notes
- Use this API in the graphics and colour management 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