Notebook.getCurrentPage

Returns the page number of the current page.

class Notebook
int
getCurrentPage
()

Return Value

Type: int

the index (starting from 0) of the current page in the notebook. If the notebook has no pages, then -1 will be returned.