TX Text Control .NET for Windows Forms Documentation

HeaderFooterCollection.Add Method

Adds a new header or footer to a Text Control document or to a certain section of the document. If a header or footer is added to the complete document the first section receives the header or footer and all other sections receive headers or footers which are connected to their previous section. To add more than one header or footer a combination of the HeaderFooterType values can be used.

Syntax

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

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


ValueMeaning
HeaderAdds a header to the document.
FirstPageHeaderAdds a special header to the document's first page.
FooterAdds a footer to the document.
FirstPageFooterAdds a special footer to the document's first page.
AllAdds all headers and footers.

Return Value

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

See Also

 
 
 

Products

Support

Downloads

Corporate

Buy Now