GetOutlinePage
Outlines
Description
Returns the one-based page number of the outline's local destination. Direct and named destinations are supported, including those reached through a GoTo action. Returns zero for remote actions or unresolved pages
Syntax
Delphi
Function TPDFlib.GetOutlinePage(OutlineID: Integer): Integer;
ActiveX
Function PDFlib::GetOutlinePage(OutlineID As Long) As Long
DLL
int DLGetOutlinePage(int InstanceID, int OutlineID);
Parameters
| OutlineID | The 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 one-based page number that the outline item links to, resolved from the item's /Dest entry or GoTo action. Returns 0 when OutlineID is invalid or the item has no destination.