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

Free Support Forum - aspose.com

Can I wrap a section break in an If/else condition?

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?

Error generating report when Section Break is included in a <> loop - Aspose.Words Product Family - Free Support Forum - aspose.com

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.