The flatteningannotations method deletes annotations such as circle, text, stamp, etc...
string inFile = "c:\\input.pdf";
PdfAnnotationEditor pCE = new PdfAnnotationEditor();
It will flatten form fields but it remove other annotations.
We simply want to flatten square, test, ellipse,stamp annotations.
Please help as we purchased to get this function and it is not working.