Is it possible to set Header and Footer text?

Hi Aspose team,

I found how to read content of Header/Footer but I am not sure how to change it.
My scenario is that I'll search for word in Header/Footer and will need to replace it with some other word.

How can I do that?

One option that I can think of is that I read content of Header/Footer, make replacement, delete old content and add new one where I changed text but question is there better way.

Thanks,
Oliver

Hi Oliver,


Thanks for your inquiry. Please refer to the following article. Hope, this helps:
http://www.aspose.com/docs/display/wordsnet/Find+and+Replace+Overview

In case you face any problems, please attach the following resources here for testing:

  • Your input Word document
  • Your expected document which shows the final output. Please create this document using Microsoft Word application.

As soon as you get these pieces of information ready, we’ll start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip them and Click ‘Reply’ button that will bring you to the ‘reply page’ and there at the bottom you can include any attachments with that post by clicking the ‘Add/Update’ button.

Best regards,