public Page addPage()

Creates a new page and adds it after the last page of a document.

Returns

a Page instance of the created page on success. Otherwise, it returns error-code and error-handler is called.