The SignatureSettings class describes the settings that are required for a document signing process using the DocumentViewer.


public class SignatureSettings
Public Class SignatureSettings

Introduced: X14.


The following code shows how to include a DocumentViewer with enabled signature settings.

@Html.TXTextControl().DocumentViewer(settings => {
    settings.DocumentPath = Server.MapPath("~/App_Data/sign.tx");
    settings.Dock = DocumentViewerSettings.DockStyle.Fill;
    settings.SignatureSettings = new SignatureSettings()
        ShowSignatureBar = true,
        OwnerName = "Josh Jackson",
        SignerName = "Peter Petersen",
        SignerInitials = "PP",
        SignatureBoxName = "txsign",
        UniqueId = "12345-12345-12345-12345"


Constructor Description
SignatureSettings Creates a new instance of the Web.MVC.DocumentViewer.SignatureSettings class.


Property Description
OwnerName Specifies the name of the document owner.
RedirectUrlAfterSignature Specifies an Url that is used for a redirection after a successful signing process.
ShowSignatureBar Specifies whether the signature bar is shown on initializing the DocumentViewer.
SignatureBoxName Specifies the name of the TextFrame that is used as the signature box.
SignerInitials Specifies the initials of the signer that is supposed to sign the document.
SignerName Specifies the name of the signer that is supposed to sign the document.
UniqueId Specifies a unique document string that is rendered on the document.