THotPDF.SetLoadedOutlineStyle Method
Sets the font style of a loaded PDF bookmark (outline) entry, allowing independent control of bold and italic attributes
Declaration
procedure SetLoadedOutlineStyle(Index: Integer; ABold, AItalic: boolean);
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
Index | Zero-based index of the outline entry (flattened sequence) |
ABold | Set to True to render the bookmark title in bold |
AItalic | Set to True to render the bookmark title in italic |
Usage notes
This member returns no value
Usage notes
- Use this API in the paragraph and outline workflow before the affected page, resource, field or catalogue object is finalised
- Different PDF viewers support outline styles to varying degrees; some older viewers may ignore style settings
- Can be combined with SetLoadedOutlineColor for a consistent bookmark look