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");
string[]
shows only the defined options in the PdfViewer.
boolean
Enable or disables the tooltip of the toolbar.