Created
September 12, 2022 21:08
-
-
Save bjoerntx/f4ebe1428368c8642df68c47d273aef5 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 = "App_Data/template.docx"; | |
settings.Dock = DocumentViewerSettings.DockStyle.Fill; | |
settings.ShowThumbnailPane = false; | |
settings.SignatureSettings = new SignatureSettings() { | |
ShowSignatureBar = true, | |
OwnerName = "Paul Paulsen", | |
SignerName = "Tim Typer", | |
SignerInitials = "TT", | |
RedirectUrlAfterSignature = this.Url.Action("SignDocument", "Home", null, Context.Request.Scheme, null), | |
SignatureBoxes = new SignatureBox[] { | |
new SignatureBox("txsign") { | |
SigningRequired = true, Style = SignatureBox.SignatureBoxStyle.Signature } | |
}}; | |
}).Render() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment