Created
September 16, 2022 20:46
-
-
Save bjoerntx/54ce16a7c1268c15a4ab4a0aa3dc17af to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Html.TXTextControl().DocumentViewer(settings => { | |
settings.DocumentPath = Server.MapPath("~/App_Data/signature.tx"); | |
settings.Dock = DocumentViewerSettings.DockStyle.Fill; | |
settings.IsSelectionActivated = false; | |
settings.ShowThumbnailPane = true; | |
settings.SignatureSettings = new SignatureSettings() { | |
ShowSignatureBar = true, | |
OwnerName = "Paul Paulsen", | |
SignerName = "Tim Typer", | |
SignerInitials = "TT", | |
SignatureBoxes = new SignatureBox[] { | |
new SignatureBox("txsign") { | |
SigningRequired = true, Style = SignatureBox.SignatureBoxStyle.Signature }, | |
new SignatureBox("txsign_init") { | |
SigningRequired = true, Style = SignatureBox.SignatureBoxStyle.Initials }} | |
}; | |
}).Render() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment