Last active
October 9, 2019 09:33
-
-
Save GroupDocsGists/52d64011519d40a6126d55437c49490d 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
// instantiate the signature object | |
using (Signature signature = new Signature("Sample.pdf")) | |
{ | |
// setup options with text of signature | |
TextSignOptions signOptions = new TextSignOptions("John Smith"); | |
// set Z-Order | |
signOptions.ZOrder = 10; | |
// text rectangle size | |
signOptions.Height = 100; | |
signOptions.Width = 100; | |
// if you need to sign all the pages of document | |
signOptions.AllPages = true; | |
// sign the document | |
signature.Sign("signedSample.pdf", signOptions); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment