Sample ApplyCustomLogicToEmptyRegions not working

Hi

I tried to run the sample ApplyCustomLogicToEmptyRegions with the last version (11.4.0.0) of Aspose.Words but it is not working. The EmptyRegionsHandler is not called. Therefore all the three output documents are the same.

I just downloaded the last sample zip from your page. I am executing the c# sample:
ApplyCustomLogicToEmptyRegions\CSharp

Would be greate if you can provide me the working sample that works as described in:
https://docs.aspose.com/words/net/mail-merge-and-reporting/

Regards
Adrian

Hi Adrian,

Thanks for your inquiry.

You are correct, there was a small bug introduced into this code. The online version has already been updated with a fix, the offline samples will be updated at the end of this month.

See the online code in the documentation, the comment at the bottom of the page describes the fix.

Please let us know if you have any problems, we will be glad to assist you.

Thanks,