EnumOutlineTree
Outlines
Description
Enumerates the document outline tree in preorder and writes one TPDFlibOutlineNode record per outline when the supplied array has capacity
Syntax
Delphi
Function TPDFlib.EnumOutlineTree(Var Outlines: Array Of TPDFlibOutlineNode): Integer;
Parameters
| Outlines | Caller-supplied array that receives outline IDs, parent and sibling IDs, first-child ID, level, destination page, open state, and title |
|---|
Return values
| 0 | No outlines were found |
|---|---|
| Positive value | Total outline count, which may be larger than the supplied array length |