Created
December 19, 2023 15:11
-
-
Save bjoerntx/66b82d87d5078cf8648469059ddb2ed6 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
var signerData = new SignerData( | |
"John Doe", "Signer", "676 Sign Street", "john@signer.com", "I approve this document"); | |
var signatureStyle = new SignatureStyle { | |
SvgImage = System.IO.File.ReadAllText("signature.svg"), | |
DetailsFont = new Font("Times New Roman", 13)}; | |
// Add a signature box to the document | |
var fieldName = SignatureBoxManager.AddSignatureBox( | |
textControl1, | |
new Size(3000, 2000), | |
1, | |
SignatureLocation.TopRight, | |
signerData, | |
signatureStyle | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment