Using Foxit .NET SDK in an application to flatten a PDF. When I open the document using Phantom PDF document appears to be flattened. When the document is opened using Adobe Reader, the document appears not to be flattened and the form fields accessible. This is the code I'm currently using:
// Code added to "Flatten" the PDFs
SignatureFieldFlatteningOptions sFFO = new SignatureFieldFlatteningOptions();
sFFO = SignatureFieldFlatteningOptions.Retain;
FormFlatteningOptions fFO = new FormFlatteningOptions();
fFO.DigitalSignatures = sFFO;
mergeDocument.FormFlattening = fFO;
mergeDocument.CompressionLevel = 9;
byte[] pdfModifiedOutput = mergeDocument.Draw();
Is there something I should be doing differently? Has anyone else seen this problem?