Version

FinalSectionProperties Property (WordprocessingMLWriter)

Defines the page-related properties of the document such as size, margins, and orientation. Applies to all content in the document which follows the last explicitly defined section.
Syntax
'Declaration
 
Public Overrides ReadOnly Property FinalSectionProperties As SectionProperties
public override SectionProperties FinalSectionProperties {get;}
Remarks

This property defines the pagination for all content within the document which is not explicitly associated with a section defined via the DefineSection method. Sections defined by that method apply to all content that was written prior to the method call; from this it follows that once the DefineSection method is called, pagination is then explicitly defined for all previously written content in the document. As such, the pagination as defined by this property applies to the content that was written after the last call to DefineSection, or to the "final" section of the document.

In the case where the DefineSection method is not used, this property defines the pagination for the entire document.

Headers and/or footers can be defined for the final section using the AddHeaderFooterSection method.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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

See Also