Handling Headers and Footers


#1

hi all,

I am generating a word document file from c# code(.NET).
i am done with creating the document.
now i am strugling to get a hang of handling headers and footers … like assigning text to headers , page nos in footers etc …
can any one please help me with this
thanks in advance
ashwin.


#2

Hi,

Thank you for considering Aspose.

Please take a look at DocumentBuilder.MoveToHeaderFooter, this method is used for moving to a header or footer. Also, have a look at the Document Builder demo that shows how to insert text and other elements into the document.