1. Home
  2. Foxit SDK .NET
  3. Is it possible to prevent digital signatures when flattening form fields using Foxit PDF.NET SDKs?

Is it possible to prevent digital signatures when flattening form fields using Foxit PDF.NET SDKs?

By default, digital signatures will be flattened along with all the other form fields in the PDF. If you wish to retain the digital signatures during the flattening, you can use the DigitalSignatures property of FormFlatteningOptions. Adding the following line to the above example would retain all the digital signatures.

Using Visual Basic:

document.Form.SignatureFieldsOutput = FormFieldOutput.Retain

Using C#:

document.Form.SignatureFieldsOutput = FormFieldOutput.Retain;
Updated on October 7, 2019

Was this article helpful?

Related Articles

Ready to try Foxit PDF SDK?
Click the link below to download your trial
Free Trial