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
Click the button to view the generated Word document or PDF. Please note that Microsoft Word Viewer or Microsoft Word is required to view the resultant Word document and PDF viewer is required to view the resultant PDF.
Save As :      
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.
Transform your ASP.NET MVC web apps today with Syncfusion® ASP.NET MVC components
85+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE
opens in a new tab