How to set header from top and footer from bottom positions in word document using aspose.words?

how to set header from top and footer from bottom positions in word document using aspose.words?

Hi,


Thanks for your inquiry.

To be able to set the distance (in points) between the header and top of the page, please use HeaderDistance property i.e. described in the following API link:
http://www.aspose.com/documentation/.net-components/aspose.words-for-.net/aspose.words.pagesetup.headerdistance.html

To be able to set the distance (in points) between the footer and bottom of the page, please use FooterDistance property i.e. described in the following API link:
http://www.aspose.com/documentation/.net-components/aspose.words-for-.net/aspose.words.pagesetup.footerdistance.html

I hope, this will help.

Best Regards,