Aspose Words - page numbering

Hi - I am using Aspose words to create a variable-length PDF document using Word 2007. Is there a way to add page numbers to my document?
Thank you very much,
Nancy Purcell

This message was posted using Page2Forum from How-to: Control New Pages during Mail Merge - Aspose.Words for Java

Hi
Thanks for your request. To insert page numbers into the documents, you should simply insert a PAGE field into the documents’ header or footer. Of course, you can achieve this using Aspose.Words. Here you can find a code example that demonstrates how to create header/footer using Aspose.Words:
https://docs.aspose.com/words/net/working-with-headers-and-footers/
Hope this helps.
Best regards,