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

Free Support Forum - aspose.com

Page numbers as footers

hi <br>I am using Aspose.Words and I was just wondering how do we insert page numbers and current date as a footer in the doc programmatically.<br><br>Thanks <br><br>


<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your inquiry. You should use DocumentBuilder to achieve this.


Page number and pages count are inserted into the document as fields. You can insert fields into a document using DocumentBuilder. So you should use this approach.

Best regards,