Extra page in PDF output

I’m formatting the last paragraph in a Word document to be hidden. See the attached Word file. The Word document contains 2 pages, with a hidden paragraph on the second page. When a user prints the Word document, it only renders/prints the first page. The same behaviour occurs when they “Save as PDF” inside Office Word.

However, when I save the document to PDF using Aspose, it renders both pages. Is there anyway to prevent this?

- J


Thank you for reporting this problem to us. I managed to reproduce it on my side and linked your request to the appropriate issue. You will be notified as soon as it is resolved.

Best regards,

The issues you have found earlier (filed as WORDSNET-3789) have been fixed in this Aspose.Words for .NET 24.2 update also available on NuGet.