On this page
Guides
Copy Pages
This example shows how to copy pages:
javascript
// Copy the first page of the document.
const pagesIndexToCopy = [0]
docViewer.copyPages(pagesIndexToCopy)