midPage

Get the page number at the middle of the window.
[read-only property] midPage([out, retval] int *pageNum)
This property contains the page number corresponding to the middle of the window.
VB:
pageNum = viewer.midPage
currentPage