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

Free Support Forum - aspose.com

Add PAGE Number & Total Pages NUMPAGES Fields to all Pages of Word document using C# .NET Code

Page numbers are displaying correctly but not coming up on all pages
PageNumberingIssue.zip (1.4 MB)

@neethuan,

Please share how have you generated this “Internal Agenda for test 0-00 AM - Thursday, 27 February 2020(1) (4).docx” document on your end? It seems this document was generated by using Aspose.Words for .NET 18.10. Can you please try the latest version of Aspose.Words for .NET i.e. 20.2 and see how it goes on your end? In case the problem still remains, please ZIP and attach the following resources here for testing:

  • Your simplified input Word document
  • Aspose.Words for .NET 20.2 generated output DOCX file showing the undesired behavior
  • Your expected DOCX file showing the desired output. You can create this document by using MS Word.
  • Please also create a standalone simple console application (source code without compilation errors) that helps us to reproduce your current problem on our end and attach it here for testing. Please do not include Aspose.Words DLL files in it to reduce the file size.

As soon as you get these pieces of information ready, we will start further investigation into your scenario and provide you more information. Thanks for your cooperation.