cutSelectedPages(), copySelectedPages(), pasteDocumentPages()

Use the cutSelectedPages(), copySelectedPages() and pasteDocumentPages APIs to apply cut, copy, and paste actions in document builder mode.

The JavaScript methods: cutSelectedPages(), copySelectedPages() and pasteDocumentPages replicate the following behaviors:
  • cutSelectedPages: Deletes the currently selected page or pages and places them in the clipboard.
  • copySelectedPages: Copies the currently selected page or pages into the clipboard.
  • pasteDocumentPages: Adds the page or pages in the clipboard to the current highlighted caret location in the document.

Sample syntax

ViewONE.cutSelectedPages();
ViewONE.copySelectedPages();
ViewONE.pasteDocumentPages();