Hi,
I would like to know if there is a way to delete Bookmarks, Smart Tags and Fields from a Word document through .NET
Thanks,
Zeeta
Hello
Thanks for your request. Yes of course, you can easily remove all bookmarks and SmartTags from the document using the following code:
doc.Range.Bookmarks.Clear();
doc.RemoveSmartTags();
Regarding removing fields, you can try using the code like in this thread:
https://forum.aspose.com/t/unlink-if-fields/60358
Hope this helps.
Best regards,
Thanks a lot. It worked