How to flatten specific page in pdf

Product: pdfton sdk Android

Product Version: 9.0.1

Please give a brief summary of your issue:
i want to flatten 2nd page of my pdf and keep 1st page editable is it possible?

Please describe your issue and provide steps to reproduce it:
(The more descriptive your answer, the faster we are able to help you)

Please provide a link to a minimal sample where the issue is reproducible:

Hi @yashshetye01 ,

This is definitely possible.

  • loop through all annotations on desired page and flatten each annotation
  • remember to do a document write lock as you are modifying the document

Hope this helps.