THotPDF.SetLoadedOutlineTitle Method
Modifies the title text of the bookmark entry at the specified index position in the bookmark tree (Outline) of the loaded PDF document
Declaration
procedure SetLoadedOutlineTitle(Index: Integer; const ATitle: AnsiString);
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
Index | The linearly unrolled index of the bookmark entry (depth-first traversal order, zero-based) |
ATitle | The new title string to write to the Title field of the bookmark entry |
Usage notes
- 索引按书签树深度优先遍历的顺序计算,与视觉缩进层级无关
- Modifying the bookmark title does not affect the page destination or jump action associated with the bookmark
- Changes must be saved before they are written to the output file