TX Text Control .NET Server

Signatures Class

Class

Description

Controls the document-signing workflow.

Syntax

Signatures

Examples

The following example demonstrates Signatures in a practical Document Viewer workflow. This object provides functionalities for working with annotations.

TXDocumentViewer.signatures.setCustomSigning(true);
console.log("Custom signing enabled:", TXDocumentViewer.signatures.getCustomSigning());

Members

Methods

MethodDescription
cancelSigningProcessCancels the active signing UI.
clearSignaturePadClears the signature currently shown in the signing dialog.
getCustomSigningReports whether custom signing is enabled.
retrieveSignatureRestores signature data from browser storage.
setBeforeSubmitCallbackSets the callback invoked before submission.
setCustomSigningEnables or disables the application's custom signing workflow.
setSubmitCallbackRegisters a callback for the signing response. When a redirect URL is configured, request failures are passed to the callback as well.
startSigningProcessOpens the signing dialog. Returns `false` when the document has no signature boxes.
storeSignatureStores current signature data in browser storage.
submitValidates the form fields through Forms.validate() and submits the signed document. Returns `false` when validation fails, or `undefined` when a request failure is handled by the viewer.