Sample ApplyCustomLogicToEmptyRegions not working


I tried to run the sample ApplyCustomLogicToEmptyRegions with the last version ( 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:

Would be greate if you can provide me the working sample that works as described in:


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.