
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.
[C#]
public bool Add(HeaderFooterType headerFooterType);
[Visual Basic]
Public Function Add(ByVal headerFooterType As HeaderFooterType) As Boolean
| Parameter | Description | |||||||||||||||||||
| headerFooterType | Specifies the headers and/or footers to add. A combination of the following values are possible:
|
The return value is true, if the header or footer could be added. Otherwise it is false.