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

Free Support Forum - aspose.com

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:

http://www.aspose.com/documentation/.net-components/aspose.words-for-.net/howto-create-headersfooters-using-documentbuilder.html

Hope this helps.

Best regards,