GetDestPage

Annotations and hotspot links

Description

Returns the one-based page number of the specified destination, or zero when the destination has no resolvable page number. Reading a numeric remote destination preserves its stored page index

Syntax

Delphi

Function TPDFlib.GetDestPage(DestID: Integer): Integer;

ActiveX

Function PDFlib::GetDestPage(DestID As Long) As Long

DLL

int DLGetDestPage(int InstanceID, int DestID);

Parameters

DestIDThe ID of the destination to analyze. A valid destination ID is returned by the GetOutlineDest function.

Return values

Returns the one-based page number the destination points to, or 0 when DestID is invalid