Search results

PageOrganizerSettings API in JavaScript (ES5) 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;
          imageZoom: 1,
          showImageZoomingSlider: false,
          imageZoomMin: 1,
          imageZoomMax: 5
  };
 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.

imageZoom

number

Current zoom scale of the images in the page organizer view.

imageZoomMax

number

Maximum value for the image zoom scale in the page organizer view.

imageZoomMin

number

Minimum value for the image zoom scale in the page organizer view.

showImageZoomingSlider

boolean

Controls visibility of the zooming slider UI in the page organizer. When enabled, a slider is shown to zoom in / out the page thumbnails