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

OutlinesCaller-supplied array that receives outline IDs, parent and sibling IDs, first-child ID, level, destination page, open state, and title

Return values

0No outlines were found
Positive valueTotal outline count, which may be larger than the supplied array length