Search results

FormDesignerToolbarSettings API in JavaScript PDF Viewer API control

The FormDesignerToolbarSettings module is used to provide the Form designer toolbar settings of the PDF viewer.

<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,
     formDesignerToolbarItems: [
         "TextboxTool",
         "PasswordTool",
         "CheckBoxTool",
         "RadioButtonTool",
         "DropdownTool",
         "ListboxTool",
         "DrawSignatureTool",
         "DeleteTool"
     ]
 };
viewer.appendTo("#pdfViewer");

Properties

formDesignerToolbarItem

string[]

shows only the defined options in the PdfViewer.

showTooltip

boolean

Enable or disables the tooltip of the toolbar.