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

Free Support Forum - aspose.com

Mailmerge with different headers on each page


I have to do a simple mailmerge which consists of 5 template files.

Every file is in a different language and has its own header and footer.

Before any new language is starting, I add an InsertBreak statement to go to the next page.

The problem is that when the merge is completed, all the page have the header en footer from the first page.

Is there a way to prevent this, and force the header/footer of the page that is being used, and always the header of the first page being processed.

Dirk Molman

Hi Dirk,

Thanks for your inquiry.

I think, you can achieve what you need after reading the article suggested here:

You need to keep the content of each template in a separate Section.

Best regards,