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
This member returns no value
Usage notes
- Index numbers top-level outline items from 0
- A title made up solely of ASCII characters is stored exactly as given. A title with bytes above 127 is read as UTF-8 and kept as a Unicode (UTF-16BE) text string; bytes which do not form valid UTF-8 are read in the system code page