HeadersAndFooters Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets a collection of all headers and footers of the section. The property's value is an object of the type HeaderFooterCollection.
Syntax
public HeaderFooterCollection HeadersAndFooters { get; }Public ReadOnly Property HeadersAndFooters As HeaderFooterCollectionExamples
The following example works with the first section of the current document by using Section.HeadersAndFooters.
Section section = textControl.Sections[1];
foreach (HeaderFooter headerFooter in section.HeadersAndFooters)
{
Console.WriteLine(headerFooter.ConnectedToPrevious);
}Dim section As Section = textControl.Sections(1)
For Each headerFooter As HeaderFooter In section.HeadersAndFooters
Console.WriteLine(headerFooter.ConnectedToPrevious)
NextLimitations
Read only.