I am using a Aspose.Pdf version 8.5.0. I have some XFA PDF forms that after editing I want to save it as flat PDF. I am using Document.flatten() method which is working fine and making my pdfs file
non-editable. However, The Lock buttons and other buttons to add extra fields which were in the original pdf forms, are still there so I cannot take a printout of that kind of form. I have attached the sample screenshot of my PDF after flattening here just for better idea. I want to remove all that buttons as well and save it as regular printable pdf. Can I do that with Aspose ?