Replacing uncaptioned image with bookmark or placeholder

Dear Team,
How to find an image with nocaption and replacing it with a bookmark or a placholder?

Regards,
Suruthy

@suruthyb

Thanks for your inquiry. The image is imported as Shape node into Aspose.Words’ DOM. You can get the shapes nodes using CompositeNode.GetChildNodes method and insert the bookmark at the place of them.

Please ZIP and attach your input and expected output Word documents here for our reference. We will then provide you more information about your query along with code.