SetOutlineTitle

Outlines

Description

Sets the title of an outline item (bookmark).

Syntax

Delphi

function TPDFlib.SetOutlineTitle(OutlineID: Integer; Const NewTitle: WideString): Integer;

ActiveX

Function PDFlib::SetOutlineTitle(OutlineID As Long, NewTitle As String) As Long

DLL

int DLSetOutlineTitle(int InstanceID, int OutlineID, wchar_t * NewTitle);

Parameters

OutlineIDThe ID of the outline as returned by the NewOutline function. Alternatively, use the GetOutlineID function to get a valid outline ID. The new title for the outline item.
NewTitle

Return values

0The Outline ID provided was invalid
1The title of the outline item was set successfully