SetOutlineTitleA

Outlines

Description

The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to SetOutlineTitle and string arguments are interpreted using the current SetAnsiMode code page

Sets the title of an outline item (bookmark).

Syntax

Delphi

Function DLSetOutlineTitleA(InstanceID, OutlineID: Integer; NewTitle: PAnsiChar): Integer;

DLL

int DLSetOutlineTitleA(int InstanceID, int OutlineID, const char * 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