Notebook.removePage

void removePage(int pageNum)

Removes a page from the notebook given its index in the notebook.

Parameters

pageNumthe index of a notebook page, starting from 0. If -1, the last page will be removed.