GetNamedDestination

Document properties, Annotations and hotspot links

Description

Locates the named destination with the specified name and returns a DestID that can be used with the GetDestPage, GetDestType and GetDestValue functions.

Syntax

Delphi

function TPDFlib.GetNamedDestination(Const DestName: WideString): Integer;

ActiveX

Function PDFlib::GetNamedDestination(DestName As String) As Long

DLL

int DLGetNamedDestination(int InstanceID, wchar_t * DestName);

Parameters

DestNameThe name of the named destination to search for

Return values

0The specified named destination could not be found
Non-zeroA DestID that can be used with the destination functions