TX Text Control .NET for WPF

HeadersAndFooters Property

Property|Introduced in 16.0
Namespace
TXTextControl.WPF
Package
TXTextControl.TextControl.WPF.SDK as TXTextControl.WPF.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets a collection of all headers and footers the current document contains. The property's value is an object of the type HeaderFooterCollection.

Syntax

public HeaderFooterCollection HeadersAndFooters { get; }

Examples

The following example iterates through the headers and footers collection and processes each header footer.

foreach (HeaderFooter headerFooter in textControl.HeadersAndFooters)
{
    Console.WriteLine(headerFooter.ConnectedToPrevious);
}

Limitations

Runtime only.

Read only.