Search results

SignatureDialogSettings API in JavaScript (ES5) PDF Viewer API control

The SignatureDialogSettings module is used to customize the signature dialog box.

<div id="pdfViewer" style="height: 100%;width: 100%;"></div>
 let viewer: PdfViewer = new PdfViewer();
 // Change the signature dialog settings.
 viewer.signatureDialogSettings = {
     displayMode: DisplayMode.Draw | DisplayMode.Text | DisplayMode.Upload,
     hideSaveSignature: true
 };
 viewer.appendTo("#pdfViewer");

Properties

displayMode

DisplayMode

Get or set the required signature options will be enabled in the signature dialog.

hideSaveSignature

boolean

Get or set a boolean value to show or hide the save signature check box option in the signature dialog. FALSE by default.