Skip to content

Instantly share code, notes, and snippets.

@bjoerntx
Created December 19, 2023 15:11
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/66b82d87d5078cf8648469059ddb2ed6 to your computer and use it in GitHub Desktop.
Save bjoerntx/66b82d87d5078cf8648469059ddb2ed6 to your computer and use it in GitHub Desktop.
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