Foxit SDK .NET

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 March 7, 2019

Was this article helpful?
Thanks for your feedback. If you have a comment on how to improve the article, you can write it here: