NewChildOutline
Outlines
Description
Creates a new child outline under an existing parent outline, using the same destination semantics as NewOutline
Syntax
Delphi
Function TPDFlib.NewChildOutline(Parent: Integer; Const Title: WideString; DestPage: Integer; DestPosition: Double): Integer;
Parameters
| Parent | Parent outline ID, or 0 to create a top-level outline |
|---|---|
| Title | Outline title shown by the viewer |
| DestPage | 1-based destination page number |
| DestPosition | Destination position in the current measurement system |
Return values
| 0 | The parent outline was invalid or the outline could not be created |
|---|---|
| Non-zero | The new outline ID |