GetOutlineDest

Outlines

Description

Retrieves information about the destination the specified outline links to.

Syntax

Delphi

function TPDFlib.GetOutlineDest(OutlineID: Integer): Integer;

ActiveX

Function PDFlib::GetOutlineDest(OutlineID As Long) As Long

DLL

int DLGetOutlineDest(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

0The outline does not have a valid destination or the outline could not be found
Non-zeroA destination ID (or DestID) that can be used with the GetDestPage, GetDestType and GetDestValue functions