-
-
Save bjoerntx/0a3777d5bc85e7f13505bc4a1a9ba19f 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", | |
null, | |
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