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, const wchar_t * NewTitle);
Parameters
| OutlineID | The 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
| 0 | The Outline ID provided was invalid |
|---|---|
| 1 | The title of the outline item was set successfully |