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

Free Support Forum - aspose.com

Remove Empty Pages from the Document using Aspose Words

Please help in Removing Empty page from Document using aspose.words

Place project in C: Folder and also restore nuget package.
Project file : RemoveEmptyPage.zip (262.0 KB)

Please refer below details for input , current output and Expected output
Sample input file : RemoveEmptyPage\Data\In
Current output : RemoveEmptyPage\Data\Out
Expected output : RemoveEmptyPage\Data\Expected

Please help in resolving this issue.


Please use the latest (21.9) version of Aspose.Words for .NET and check this output DOCX file (empty pages removed from Word.docx (26.6 KB)) that I have produced by using the first C# code snippet from the following page: