SetOutlineNamedDestination

Annotations and hotspot links, Outlines

Description

Sets the destination of the specified outline item (bookmark) to a named destination.

Syntax

Delphi

function TPDFlib.SetOutlineNamedDestination(OutlineID: Integer; Const DestName: WideString): Integer;

ActiveX

Function PDFlib::SetOutlineNamedDestination(OutlineID As Long, DestName As String) As Long

DLL

int DLSetOutlineNamedDestination(int InstanceID, int OutlineID, wchar_t * DestName);

Parameters

OutlineIDThe ID of the outline as returned by the NewOutline function. Alternatively, use the GetOutlineID function to get a valid outline ID.
DestNameThe named destination.

Return values

0The OutlineID was invalid
1Success