Posted by a ceTe Software moderator
Hello,
Yes, in v8 we have updated the syntax for form flattening, but the functionality remains the same.
In v7, setting the FormFlattening option to default as shown below will flatten all form fields including the signature fields.
document.FormFlattening = FormFlatteningOptions.Default
Setting the FormFlattening option to retain digital signatures as shown below will flatten all form fields excluding the digital signature fields.
document.FormFlattening = FormFlatteningOptions.RetainDigitalSignatures
Do not set the document.FormFlattening at all in your code to retain (not flatten) all form fields.
Thanks,
ceTe Software Support Team.