Free Support Forum - aspose.com

Page numbering style

Hi, I'm a new user with this component and i want to know how is posible change style of page numbering in foother or header. For example like in word 2007, numbering with vertical line or number in circle and so on....
Is any way to do this with this component? Thans for response.

Michal.

Hi

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

Thanks for your inquiry. I think, you can achieve what you need using PageNumberStyle property. Please follow the link for more information:

http://www.aspose.com/documentation/.net-components/aspose.words-for-.net/aspose.words.pagesetup.pagenumberstyle.html

Hope this helps. Please let me know if you need more assistance, I will be glad to help you.

Best regards,

Hi, thans for youre response. But I think fotmating like is in document which I attach to this message. This options is not in property PageNumberStyle. Is possible change numbering style like in my document programically?

PS: Sorry for my english.

Hi

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

Thank you for additional information. What you are asking about is just header template. In your case header of the document consists of a table with one row and two cells and page number is inserted in the first cell of the table. You can build the same header using DocumentBuilder. For instance, see the code example provided here:

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

Hope this helps.

Best regards,