RedactionToolbarSettings

16 Dec 20251 minute to read

The RedactionToolbarSettings module is used to provide the Redaction toolbar settings of the PDF viewer.
This redaction customization feature shall be available only when the PDF Viewer is operating in Standalone Mode.

<div id="pdfViewer" style="height: 100%;width: 100%;"></div>
 let viewer: PdfViewer = new PdfViewer();
 // Change the form field tool bar settings.
 viewer.toolbarSettings = {
     showTooltip: false,
     redactionToolbarItems: [
'MarkForRedaction',
'RedactPages',
'RedactionPanel',
'Redact',
'RemoveAnnotation',
'CommentPanel',
'Close'
     ]
 };
viewer.appendTo("#pdfViewer");

Properties

redactionToolbarItem RedactionToolbarItem[]

Gets or sets the toolbar items available in the redaction toolbar of the PDF Viewer.

showTooltip boolean

Enable or disables the tooltip of the toolbar.