getCurrentPage

open fun getCurrentPage(): Int

Returns the page number of the current page.

Return

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