getOutlineTargetPage

Get the target page number for an outline node.
getOutlineTargetPage([in] LONG outlineHandle, [out, retval] int *pageNum)
This function returns the target page number for the specified outline entry.

In general, outline targets can be any valid PDF link - including links to other documents, URLs, etc. - although they are most often links within the current document. The getOutlineTargetPage function will return 0 for any target not in the same PDF file.

VB:
pg = viewer.getOutlineTargetPage(outlineHdl)
getOutlineNumChildren
getOutlineChild
gotoOutlineTarget