pdfGetOutlineTargetPage

Get the target page number for an outline node.
int pdfGetOutlineTargetPage(PDFViewerHandle viewer, PDFOutlineHandle outline)
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 pdfGetOutlineTargetPage function will return 0 for any target not in the same PDF file.

C:
int pg; pg = pdfGetOutlineTargetPage(viewer, outline);
pdfGetOutlineNumChildren
pdfGetOutlineChild
pdfGotoOutlineTarget