Hi aspose support,
I use aspose in word to remove some bookmark by using some code bellow:
Document doc = new Document(MyDir + “in.docx”);
Bookmark bookmark = doc.getRange().getBookmarks().get(“AsposeBookmark”);
bookmark.setText("");
bookmark.remove();
doc.save(MyDir + “out.docx”);
The bookmark is removed but still have a new line (row) of it. How to remove this line?
Thanks!