pdfGetCurrentPageNum

Get the currently displayed page number.
int pdfGetCurrentPageNum(PDFViewerHandle viewer)
This function returns the currently displayed page number.

This function returns -1 if no PDF file is open.

C:
int pageNum; pageNum = pdfGetCurrentPageNum(viewer);