Skip to content

Instantly share code, notes, and snippets.

@bjoerntx
Last active October 23, 2019 10:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bjoerntx/182f40fef00e3089880ae32e7def6070 to your computer and use it in GitHub Desktop.
Save bjoerntx/182f40fef00e3089880ae32e7def6070 to your computer and use it in GitHub Desktop.
@Html.TXTextControl().DocumentViewer(settings =>
{
settings.DocumentPath = Server.MapPath("~/App_Data/documentflows/"
+ Model.EnvelopeId + "/" + Model.Template);
settings.Dock = DocumentViewerSettings.DockStyle.Fill;
settings.SignatureSettings = new SignatureSettings()
{
OwnerName = Model.Owner,
ShowSignatureBar = true,
SignatureBoxName = Model.Signer.SignatureBoxName,
SignerInitials = Model.Signer.Initials,
SignerName = Model.Signer.FirstName + " " + Model.Signer.Name,
UniqueId = Model.EnvelopeId
};
}).Render()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment