Search results

PageOrganizerSettings API in JavaScript PDF Viewer API control

The PageOrganizerSettings is allows pages to be deleted, inserted and rotated in the PDF viewer.

<div id="pdfViewer" style="height: 100%;width: 100%;"></div>
 let viewer: PdfViewer = new PdfViewer();
 // Change the page organizer settings.
 viewer.pageOrganizerSettings = {
          canDelete: true,
          canInsert: true,
          canRotate: true,
          canCopy: true,
          canRearrange: true,
          canImport: true;
  };
 viewer.appendTo("#pdfViewer");

Properties

canCopy

boolean

Specifies whether the pages can be copied.

canDelete

boolean

Specifies whether the pages can be deleted.

canImport

boolean

Specifies whether the other PDF document can be imported.

canInsert

boolean

Specifies whether the pages can be inserted.

canRearrange

boolean

Specifies whether the pages can be rearranged.

canRotate

boolean

Specifies whether the pages can be rotated.