Free Support Forum - aspose.com

Edit Pdf - remove text between bookmarks

Hi,

I want to edit pdf file. Please see attached sample file. I want to remove text “this is heading of level 2” from pdf. The text is actually text between 2 bookmarks and it can be anything. So I caanot simply search static “this is heading of level 2” and replace/remove it.

Please let me know how can I remove text between two bookmarks using Java aspose.pdf or Java aspose.pdf.kit.

Please let us know as soon as possible.

Thanks.
-Sonali

Hi Sonali,


Thanks for your inquiry. I’m afraid the requested feature is not supported at the moment. However, I’ve logged your request as PDFNEWJAVA-33688 in our issue tracking system for further investigation and implementation. We will update you via this forum thread as soon as its resolved.

We are sorry for the inconvenience faced.

Best Regards,

Hi Sonali,


Thanks for your patience. We have investigated your requirements, please find attached sample code snippet, it will help you to accomplish your task.

Please feel free to contact us for any further assistance.

Best Regards,