GetOutlineWebLink

Outlines

Description

Returns the web link (internet URL) that the outline links to, if any.

Syntax

Delphi

Function TPDFlib.GetOutlineWebLink(OutlineID: Integer): WideString;

ActiveX

Function PDFlib::GetOutlineWebLink(OutlineID As Long) As String

DLL

const wchar_t* DLGetOutlineWebLink(int InstanceID, int OutlineID);
const char* DLGetOutlineWebLinkA(int InstanceID, int OutlineID);

Parameters

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

Return values

Returns the web link (URL) that the outline item points to. Returns an empty string when the item has no web link action or OutlineID is invalid.