TX Text Control .NET for Windows Forms Documentation

HeaderFooterCollection.Remove Method

Removes a header or footer from a Text Control document or from a certain section. To remove more than one header or footer a combination of the HeaderFooterType values can be used.

Syntax

[C#] public bool Remove(HeaderFooterType headerFooterType);
[Visual Basic] Public Function Remove(ByVal headerFooterType As HeaderFooterType) As Boolean
ParameterDescription
headerFooterType

Specifies the headers and/or footers to remove. A combination of the following values are possible:


ValueMeaning
HeaderRemoves the header from the document.
FirstPageHeaderRemoves the special header from the document's first page.
FooterRemoves the footer from the document.
FirstPageFooterRemoves the special footer from the document's first page.
AllRemoves all headers and footers.

Return Value

The return value is true, if the header or footer could be removed. Otherwise it is false.

See Also

 
 
 

Products

Support

Downloads

Corporate

Buy Now