Analyze SignResult result to check newly created signatures if needed.
This example shows how to add Digital signature to document. See SignResult
using(Signaturesignature=newSignature("sample.pdf")){// initialize digital option with certificate file pathDigitalSignOptionsoptions=newDigitalSignOptions("certificate.pfx"){// certifiate passwordPassword="1234567890",// digital certificate detailsReason="Sign",Contact="JohnSmith",Location="Office1",// image as digital certificate appearance on document pagesImageFilePath="sample.jpg",//AllPages=true,Width=80,Height=60,VerticalAlignment=VerticalAlignment.Bottom,HorizontalAlignment=HorizontalAlignment.Right,Margin=newPadding(){Bottom=10,Right=10},};signature.Sign("signed.pdf",options);}
More resources
GitHub Examples
You may easily run the code above and see the feature in action in our GitHub examples: