The pagination for all content associated with a document section can be customized using the SectionProperties object returned by the Properties property. Use this object to define the page size, margins, and orientation for the section.
Headers and/or footers can be specified for a section using the HeaderAllPages, HeaderFirstPageOnly, FooterAllPages, and FooterFirstPageOnly properties.
Target Platforms: Windows 8.1, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
View on GitHub