-
-
Save bjoerntx/316c32231f74f7abcbac4ab62dbe005e 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
@using TXTextControl.Web.MVC.DocumentViewer | |
@Html.TXTextControl().DocumentViewer(settings => { | |
settings.DocumentPath = "App_Data\\template.tx"; | |
settings.SignatureSettings = new SignatureSettings() { | |
ShowSignatureBar = true, | |
OwnerName = "Josh Jackson", | |
SignerName = "Tim Typer", | |
SignerInitials = "TT", | |
UniqueId = "12345-12345-12345-12345", | |
RedirectUrlAfterSignature = this.Url.Action( | |
"HandleSignature", | |
"Signature", | |
new { secureID = "123" }, | |
Context.Request.Scheme, | |
null), | |
SignatureBoxes = new SignatureBox[] { | |
new SignatureBox("txsign") { SigningRequired = true, Style = SignatureBox.SignatureBoxStyle.Signature }, | |
new SignatureBox("txsigninit") { 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