Skip to content
Guides

Delete Pages

This example shows how to delete pages:

javascript
// Delete the first page of the document.
const pagesIndexToDelete = [0];
docViewer.removePages(pagesIndexToDelete);