Notebook.getNPages

int getNPages()

Gets the number of pages in a notebook.

Returns

the number of pages in the notebook