PageOrganizerSettings
6 Jul 20262 minutes to read
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.
Defaults to true
canDelete boolean
Specifies whether the pages can be deleted.
Defaults to true
canExtractPages boolean
Specifies whether the pages can be extracted.
The canExtractPages API for the Extract Pages feature will be available only when the PDF Viewer is operating in Standalone Mode.
Defaults to true
canImport boolean
Specifies whether the other PDF document can be imported.
Defaults to true
canInsert boolean
Specifies whether the pages can be inserted.
Defaults to true
canRearrange boolean
Specifies whether the pages can be rearranged.
Defaults to true
canRotate boolean
Specifies whether the pages can be rotated.
Defaults to true
imageZoom number
Current zoom scale of the images in the page organizer view.
Defaults to 1
imageZoomMax number
Maximum value for the image zoom scale in the page organizer view.
Defaults to 5
imageZoomMin number
Minimum value for the image zoom scale in the page organizer view.
Defaults to 1
showExtractPagesOption boolean
Get or set a boolean value to show or hide the pages extract option in the page organizer dialog. TRUE by default.
The showExtractPagesOption API for the Extract Pages feature will be available only when the PDF Viewer is operating in Standalone Mode.
Defaults to true
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
Defaults to false