removeAllPages

Remove all page from the document at one batch operation. This is an IO operation and is not recommended to execute in the UI thread.