Example of Header and Footer in ASP.NET MVC Word (DocIO) Library
This sample demonstrates how to insert headers and footers to the Word document using DocIO.
DEMO
SOURCE
With DocIO, you can insert all possible types of header and footer in the Word document like first page, odd page and even page header and footer.
- You can add text, tables, pictures, page numbers, fields etc., to the header and footer.
- Previous section header and footer contents can be linked and repeated for the next section.
- You can define different header and footer for the first page, odd pages and even pages in the document.
More information about the headers and footers can be found in this
documentation
section.