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

ParentParent outline ID, or 0 to create a top-level outline
TitleOutline title shown by the viewer
DestPage1-based destination page number
DestPositionDestination position in the current measurement system

Return values

0The parent outline was invalid or the outline could not be created
Non-zeroThe new outline ID