Created
June 15, 2021 10:37
-
-
Save bjoerntx/2775f7c987c6fbeb294f527b92c63eab 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/contract.tx"); | |
settings.Dock = DocumentViewerSettings.DockStyle.Window; | |
settings.IsSelectionActivated = true; | |
settings.ShowThumbnailPane = true; | |
settings.SignatureSettings = new SignatureSettings() | |
{ | |
OwnerName = "Paul Paulsen", | |
SignerName = Model.Signer, | |
ShowSignatureBar = true, | |
UniqueId = Guid.NewGuid().ToString(), | |
CustomSignatureData = new ElectronicSignatureDocumentViewer.Models.SignatureData() | |
{ | |
Barcode = Model.Barcode, | |
Signer = Model.Signer, | |
IPAddress = Model.IPAddress | |
} | |
}; | |
}).Render() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment