We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How to delete everything outside a bookmark

file1.zip (32.5 KB)

Please see the sample in the attachment. “Input_word.docx” is the source file. You only need to save the bookmark “po_bk001” , and output the file output_po_bk001.docx


You can meet this requirement by using the code from the following article:
Extract Content from a Bookmark