I see in version 21.1+ that section breaks can now be wrapped in a loop. Can they be wrapped in an If/else condition?
I was able to confirm that yes I can wrap section and page breaks in if/else conditions.
It is nice to hear from you that your problem has been solved. Please feel free to ask if you have any question about Aspose.Words, we will be happy to help you.