TX Text Control .NET for Windows Forms Documentation

HeaderFooterCollection Class

An instance of the HeaderFooterCollection class contains the headers and footers in a Text Control document represented through objects of the type HeaderFooter. An instance of this class can be either obtained through the TextControl.HeadersAndFooters or through the Section.HeadersAndFooters property. The first collection represents headers and footers common to all sections of the document and the second collection represents the headers and footers of a certain section. The HeaderFooterCollection class implements the IEnumerable and the ICollection interface.

Syntax

[C#] public class HeaderFooterCollection: ICollection, IEnumerable
[Visual Basic] Public Class HeaderFooterCollection Implements ICollection Implements IEnumerable

Properties

PropertyDescription
CountGets the number of elements contained in the collection.

Methods

MethodDescription
AddAdds a new header or footer to a Text Control document or to a certain section of the document.
CopyToCopies the elements of the collection to an array, starting at a particular index.
GetEnumeratorReturns an enumerator that can be used to iterate through the collection.
GetItemGets a particular header or footer from the collection.
RemoveRemoves a header or footer from a Text Control document or from a certain section.

See Also

 
 
 

Products

Support

Downloads

Corporate

Buy Now