Created
August 18, 2020 10:20
-
-
Save bjoerntx/4a89bcd11dc5d9094590543136a97a80 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
function LoadViewer() { | |
var bDocument; | |
var signatureSettings = { | |
signerName: "Tim Typer", | |
signerInitials: "TT", | |
uniqueId: "12345-ABCDE", | |
redirectUrlAfterSignature: "CreatingSignatures?signed=true", | |
ownerName: "Document Requestor", | |
signatureBoxName: "txsign", | |
showSignatureBar: true | |
} | |
// save document | |
TXTextControl.saveDocument(TXTextControl.StreamType.InternalUnicodeFormat, function (e) { | |
bDocument = e.data; | |
TXDocumentViewer.loadDocument( | |
bDocument, | |
"pleasesignme.tx", | |
signatureSettings); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment