Skip to content

Instantly share code, notes, and snippets.

@bjoerntx
Created May 27, 2019 08: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/5e2585378f9207d3209854e95d0671a5 to your computer and use it in GitHub Desktop.
Save bjoerntx/5e2585378f9207d3209854e95d0671a5 to your computer and use it in GitHub Desktop.
TXTextControl.SaveSettings settings = new TXTextControl.SaveSettings();
X509Certificate2 cert = new X509Certificate2("test.pfx", "123");
settings.DigitalSignature = new TXTextControl.DigitalSignature(cert, null);
textControl1.Save("results.pdf", TXTextControl.StreamType.AdobePDF, settings);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment