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

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:
Hope this helps.
Best regards,