TX Text Control .NET for Windows Forms

HeadersAndFooters Property

Property|Introduced in 12.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Server.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.