NewStaticOutline

Outlines

Description

This function creates a new outline without an action. The action can later be set using the

SetOutlineDestination, SetOutlineWebLink or SetOutlineJavaScript functions.

Syntax

Delphi

function TPDFlib.NewStaticOutline(Parent: Integer; Const Title: WideString): Integer;

ActiveX

Function PDFlib::NewStaticOutline(Parent As Long, Title As String) As Long

DLL

int DLNewStaticOutline(int InstanceID, int Parent, wchar_t * Title);

Parameters

Parent0 for a root item, or the ID of the parent item if this is a child item
TitleThe title of the outline item.

Return values

0The outline item could not be added
Non-zeroThe ID of the outline item that was added